lib/redbooth-ruby.rb in redbooth-ruby-0.0.5 vs lib/redbooth-ruby.rb in redbooth-ruby-0.1.0

- old
+ new

@@ -13,19 +13,21 @@ autoload :Client, 'redbooth-ruby/client' autoload :Session, 'redbooth-ruby/session' autoload :Me, 'redbooth-ruby/me' autoload :User, 'redbooth-ruby/user' autoload :Task, 'redbooth-ruby/task' + autoload :TaskList, 'redbooth-ruby/task_list' autoload :Organization, 'redbooth-ruby/organization' autoload :Person, 'redbooth-ruby/person' autoload :Project, 'redbooth-ruby/project' autoload :Conversation, 'redbooth-ruby/conversation' autoload :Membership, 'redbooth-ruby/membership' autoload :Comment, 'redbooth-ruby/comment' autoload :Note, 'redbooth-ruby/note' autoload :Subtask, 'redbooth-ruby/subtask' autoload :File, 'redbooth-ruby/file' + autoload :Helpers, 'redbooth-ruby/helpers' module Operations autoload :Base, 'redbooth-ruby/operations/base' autoload :Index, 'redbooth-ruby/operations/index' @@ -45,18 +47,19 @@ autoload :Response, 'redbooth-ruby/request/response' autoload :Collection, 'redbooth-ruby/request/collection' end module ClientOperations + autoload :Perform, 'redbooth-ruby/client_operations/perform' autoload :Search, 'redbooth-ruby/client_operations/search' autoload :Metadata, 'redbooth-ruby/client_operations/metadata' end class RedboothError < StandardError; end class AuthenticationError < RedboothError; end - class OauhtTokenExpired < AuthenticationError; end - class OauhtTokenRevoked < AuthenticationError; end + class OauthTokenExpired < AuthenticationError; end + class OauthTokenRevoked < AuthenticationError; end class NotFound < RedboothError; end class APIError < RedboothError; end class ObjectNotFound < APIError; end class BadRequest < APIError; end @@ -118,6 +121,6 @@ @@configuration[:domain_base] ||= nil @@configuration[:api_base_path] ||= 'api' @@configuration[:api_version] ||= '3' @@configuration[:use_ssl] ||= true end -end +end \ No newline at end of file