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

Class Method Summary collapse

Class Attribute Details

.applicationObject

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

.domainObject

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

.versionObject

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