Class: Freshdesk::FreshdeskObject
- Inherits:
-
Object
- Object
- Freshdesk::FreshdeskObject
- Defined in:
- lib/freshdesk/freshdesk_object.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
Instance Method Summary collapse
-
#initialize(endpoint) ⇒ FreshdeskObject
constructor
A new instance of FreshdeskObject.
- #resource(params: {}, id: nil) ⇒ Object
Constructor Details
#initialize(endpoint) ⇒ FreshdeskObject
Returns a new instance of FreshdeskObject.
3 4 5 |
# File 'lib/freshdesk/freshdesk_object.rb', line 3 def initialize(endpoint) @endpoint = endpoint end |
Instance Attribute Details
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint.
7 8 9 |
# File 'lib/freshdesk/freshdesk_object.rb', line 7 def endpoint @endpoint end |