module Dropio
  VERSION = '0.9.1'
  
  class MissingResourceError < Exception; end
  class AuthorizationError < Exception; end
  class RequestError < Exception; end
  class ServerError < Exception; end

  class << self
    attr_accessor :api_key, :base_url, :api_url, :upload_url
  end
end


Dropio.base_url = "http://drop.io"
Dropio.api_url = "http://api.drop.io"
Dropio.upload_url = "http://assets.drop.io/upload"

require 'net/http'
require 'uri'
require 'singleton'
require 'rubygems'
require 'mime/types'
require 'base64'
require 'cgi'
require 'json'
require 'digest/sha1'

require 'dropio/client'
require 'dropio/client/mapper'
require 'dropio/client/multipart_post'
require 'dropio/resource'
require 'dropio/drop'
require 'dropio/asset'
require 'dropio/comment'
