Class: ContextIO::Lite::API
- Inherits:
-
API::AbstractAPI
- Object
- API::AbstractAPI
- ContextIO::Lite::API
- Defined in:
- lib/contextio/lite/api.rb
Constant Summary collapse
- VERSION =
'lite'
Constants inherited from API::AbstractAPI
Instance Attribute Summary
Attributes inherited from API::AbstractAPI
#base_url, #key, #opts, #secret, #version
Class Method Summary collapse
-
.url_for(resource) ⇒ String
The URL for the resource in the API.
- .user_agent_string ⇒ Object
Instance Method Summary collapse
-
#url_for(resource) ⇒ String
The URL for the resource in the API.
Methods inherited from API::AbstractAPI
base_url, #initialize, #path, #raw_request, #request, #user_agent_string, version
Constructor Details
This class inherits a constructor from ContextIO::API::AbstractAPI
Class Method Details
.url_for(resource) ⇒ String
Returns The URL for the resource in the API.
17 18 19 |
# File 'lib/contextio/lite/api.rb', line 17 def self.url_for(resource) ContextIO::Lite::URLBuilder.url_for(resource) end |