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
-
.client(options = {}) ⇒ Camp3::Client
Alias for Camp3::Client.new.
-
.configure(&block) ⇒ Camp3::Client
Delegates to Camp3::Client configure method.
Class Method Details
.client(options = {}) ⇒ Camp3::Client
Alias for Camp3::Client.new
21 22 23 |
# File 'lib/camp3.rb', line 21 def self.client( = {}) Camp3::Client.new() end |
.configure(&block) ⇒ Camp3::Client
Delegates to Camp3::Client configure method
28 29 30 |
# File 'lib/camp3.rb', line 28 def self.configure(&block) self.client.configure(&block) end |