Class: OctaSpace::Resources::Base
- Inherits:
-
Object
- Object
- OctaSpace::Resources::Base
- Defined in:
- lib/octaspace/resources/base.rb
Overview
Base class for all API resource groups
Delegates HTTP methods to the transport layer and provides a clean DSL for subclasses.
Direct Known Subclasses
Accounts, Apps, IdleJobs, Network, Nodes, Services, Services::MachineRental, Services::Render, Services::Vpn, Sessions
Instance Method Summary collapse
-
#initialize(transport) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(transport) ⇒ Base
Returns a new instance of Base.
13 14 15 |
# File 'lib/octaspace/resources/base.rb', line 13 def initialize(transport) @transport = transport end |