Class: HaloMspApi::Resources::Base
- Inherits:
-
Object
- Object
- HaloMspApi::Resources::Base
- Defined in:
- lib/halo_msp_api/resources/base.rb
Overview
Base class for all resources
Direct Known Subclasses
Actions, Agents, Appointments, Assets, Clients, Integrations, Invoices, KnowledgeBase, Organisations, Products, PurchaseOrders, Quotations, Reports, SalesOrders, Services, Slas, Suppliers, Tickets, Users, Webhooks
Instance Attribute Summary collapse
-
#client_instance ⇒ Object
readonly
Returns the value of attribute client_instance.
Instance Method Summary collapse
-
#initialize(client_instance) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(client_instance) ⇒ Base
Returns a new instance of Base.
9 10 11 |
# File 'lib/halo_msp_api/resources/base.rb', line 9 def initialize(client_instance) @client_instance = client_instance end |
Instance Attribute Details
#client_instance ⇒ Object (readonly)
Returns the value of attribute client_instance.
7 8 9 |
# File 'lib/halo_msp_api/resources/base.rb', line 7 def client_instance @client_instance end |