Module: Cartowrap
- Defined in:
- lib/cartowrap.rb,
lib/cartowrap/api.rb,
lib/cartowrap/errors.rb,
lib/cartowrap/version.rb,
lib/cartowrap/http_service.rb,
lib/cartowrap/http_service/endpoint.rb,
lib/cartowrap/http_service/response.rb
Defined Under Namespace
Modules: HTTPService Classes: API, APIError, AppSecretNotDefinedError, AuthenticationError, BadCartodbResponse, CartowrapError, ClientError, NoTokenError, NotFoundError, OAuthTokenRequestError, ServerError
Constant Summary collapse
- VERSION =
'0.1.1'
- Endpoint =
HTTPService::Endpoint
- Response =
HTTPService::Response
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
-
.http_service ⇒ Object
Returns the value of attribute http_service.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
8 9 10 |
# File 'lib/cartowrap.rb', line 8 def config @config end |
.http_service ⇒ Object
Returns the value of attribute http_service.
8 9 10 |
# File 'lib/cartowrap.rb', line 8 def http_service @http_service end |
Class Method Details
.configure {|config| ... } ⇒ Object
9 10 11 |
# File 'lib/cartowrap.rb', line 9 def configure yield config end |
.make_request(options, credentials = {}) ⇒ Object
19 20 21 |
# File 'lib/cartowrap.rb', line 19 def self.make_request(, credentials = {}) http_service.make_request(, credentials) end |