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,
lib/sirportly/data_objects/sla.rb,
lib/sirportly/data_objects/team.rb,
lib/sirportly/data_objects/user.rb,
lib/sirportly/data_objects/brand.rb,
lib/sirportly/data_objects/filter.rb,
lib/sirportly/data_objects/status.rb,
lib/sirportly/data_objects/ticket.rb,
lib/sirportly/data_objects/customer.rb,
lib/sirportly/data_objects/priority.rb,
lib/sirportly/data_objects/api_token.rb,
lib/sirportly/data_objects/department.rb,
lib/sirportly/data_objects/custom_field.rb,
lib/sirportly/data_objects/facebook_page.rb,
lib/sirportly/data_objects/ticket_update.rb,
lib/sirportly/data_objects/knowledge_base.rb,
lib/sirportly/data_objects/escalation_path.rb,
lib/sirportly/data_objects/twitter_account.rb,
lib/sirportly/data_objects/knowledge_base_page.rb,
lib/sirportly/data_objects/customer_contact_method.rb

Defined Under Namespace

Modules: Errors Classes: ApiToken, Brand, Client, CustomField, Customer, CustomerContactMethod, DataObject, DataSet, Department, Error, EscalationPath, FacebookPage, Filter, KnowledgeBase, KnowledgeBasePage, Priority, Request, SLA, SPQLQuery, Status, Team, Ticket, TicketUpdate, TwitterAccount, User

Constant Summary collapse

VERSION =
'1.4.4'

Class Attribute 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.



43
44
45
# File 'lib/sirportly.rb', line 43

def application
  @application
end

.domainObject

Returns the domain which should be used to query the API



53
54
55
# File 'lib/sirportly.rb', line 53

def domain
  @domain ||= 'https://api.sirportly.com'
end

.execute_rulesObject

Specifies whether or not to execute rules when running API calls. By default, all rules will be run. Set to false to stop execution.



47
48
49
# File 'lib/sirportly.rb', line 47

def execute_rules
  @execute_rules
end