class ContextIO::Lite::API
Constants
- VERSION
Public Class Methods
url_for(resource)
click to toggle source
@param [Object] resource The resource you want the URL for.
@return [String] The URL for the resource in the API
.
# File lib/contextio/lite/api.rb, line 17 def self.url_for(resource) ContextIO::Lite::URLBuilder.url_for(resource) end
user_agent_string()
click to toggle source
# File lib/contextio/lite/api.rb, line 10 def self.user_agent_string "contextio-#{self.version}-ruby-#{ContextIO.version}" end
Public Instance Methods
url_for(resource)
click to toggle source
@param [Object] resource The resource you want the URL for.
@return [String] The URL for the resource in the API
.
# File lib/contextio/lite/api.rb, line 24 def url_for(resource) ContextIO::Lite::API.url_for(resource) end