Module: Sirportly
- Defined in:
- lib/sirportly.rb,
lib/sirportly/client.rb,
lib/sirportly/request.rb,
lib/sirportly/data_set.rb,
lib/sirportly/spql_query.rb,
lib/sirportly/data_object.rb
Defined Under Namespace
Modules: Errors Classes: Client, DataObject, DataSet, Error, Request, SPQLQuery
Class Attribute Summary collapse
-
.application ⇒ Object
Stores the application token if one has been provided.
-
.domain ⇒ Object
Returns the domain which should be used to query the API.
Class Method Summary collapse
-
.version ⇒ Object
Returns the current version number for the Sirportly API client.
Class Attribute Details
.application ⇒ Object
Stores the application token if one has been provided. This can be nil if no application token exists, however if nil, you cannot authenticate using user tokens.
37 38 39 |
# File 'lib/sirportly.rb', line 37 def application @application end |
.domain ⇒ Object
Returns the domain which should be used to query the API
43 44 45 |
# File 'lib/sirportly.rb', line 43 def domain @domain ||= 'https://api.sirportly.com' end |
Class Method Details
.version ⇒ Object
Returns the current version number for the Sirportly API client.
30 31 32 |
# File 'lib/sirportly.rb', line 30 def version "1.1.0" end |