Module: Camper

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

Defined Under Namespace

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

Constant Summary collapse

VERSION =
'0.0.5'

Class Method Summary collapse

Class Method Details

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

Alias for Camper::Client.new

Returns:


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

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

.configure(&block) ⇒ Camper::Client

Delegates to Camper::Client configure method

Returns:


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

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