Module: Freshdesk
- Defined in:
- lib/freshdesk.rb,
lib/freshdesk/config.rb,
lib/freshdesk/ticket.rb,
lib/freshdesk/version.rb,
lib/freshdesk/resource.rb,
lib/freshdesk/freshdesk_object.rb
Defined Under Namespace
Classes: FreshdeskObject, Resource, Ticket
Constant Summary collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
-
.api_version ⇒ Object
Returns the value of attribute api_version.
-
.domain ⇒ Object
Returns the value of attribute domain.
-
.password_or_x ⇒ Object
Returns the value of attribute password_or_x.
-
.user_name_or_api_key ⇒ Object
Returns the value of attribute user_name_or_api_key.
Class Method Summary collapse
Class Attribute Details
.api_version ⇒ Object
Returns the value of attribute api_version.
3 4 5 |
# File 'lib/freshdesk/config.rb', line 3 def api_version @api_version end |
.domain ⇒ Object
Returns the value of attribute domain.
3 4 5 |
# File 'lib/freshdesk/config.rb', line 3 def domain @domain end |
.password_or_x ⇒ Object
Returns the value of attribute password_or_x.
3 4 5 |
# File 'lib/freshdesk/config.rb', line 3 def password_or_x @password_or_x end |
.user_name_or_api_key ⇒ Object
Returns the value of attribute user_name_or_api_key.
3 4 5 |
# File 'lib/freshdesk/config.rb', line 3 def user_name_or_api_key @user_name_or_api_key end |
Class Method Details
.get_key(key) ⇒ Object
21 22 23 |
# File 'lib/freshdesk/config.rb', line 21 def get_key(key) instance_variable_get("@#{key}") || raise("Set Freshdesk.#{key} to use this feature") end |