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/ticket_update.rb,
lib/sirportly/data_objects/knowledge_base.rb,
lib/sirportly/data_objects/escalation_path.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, Filter, KnowledgeBase, KnowledgeBasePage, Priority, Request, SLA, SPQLQuery, Status, Team, Ticket, TicketUpdate, User
Constant Summary collapse
- VERSION =
'1.4.0'
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.
-
.execute_rules ⇒ Object
Specifies whether or not to execute rules when running API calls.
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.
41 42 43 |
# File 'lib/sirportly.rb', line 41 def application @application end |
.domain ⇒ Object
Returns the domain which should be used to query the API
51 52 53 |
# File 'lib/sirportly.rb', line 51 def domain @domain ||= 'https://api.sirportly.com' end |
.execute_rules ⇒ Object
Specifies whether or not to execute rules when running API calls. By default, all rules will be run. Set to false to stop execution.
45 46 47 |
# File 'lib/sirportly.rb', line 45 def execute_rules @execute_rules end |