Module: Camp3

Defined in:
lib/camp3.rb,
lib/camp3/error.rb,
lib/camp3/client.rb,
lib/camp3/logging.rb,
lib/camp3/request.rb,
lib/camp3/version.rb,
lib/camp3/resource.rb,
lib/camp3/page_links.rb,
lib/camp3/authorization.rb,
lib/camp3/configuration.rb,
lib/camp3/resources/project.rb,
lib/camp3/paginated_response.rb

Defined Under Namespace

Modules: Authorization, Error, Logging Classes: Client, Configuration, PageLinks, PaginatedResponse, Project, Request, Resource

Constant Summary collapse

VERSION =
"0.0.4"

Class Method Summary collapse

Class Method Details

.client(options = {}) ⇒ Camp3::Client

Alias for Camp3::Client.new

Returns:



21
22
23
# File 'lib/camp3.rb', line 21

def self.client(options = {})
  Camp3::Client.new(options)
end

.configure(&block) ⇒ Camp3::Client

Delegates to Camp3::Client configure method

Returns:



28
29
30
# File 'lib/camp3.rb', line 28

def self.configure(&block)
  self.client.configure(&block)
end