Class: SnapAPIClient::Resources::Base
- Inherits:
-
Object
- Object
- SnapAPIClient::Resources::Base
- Defined in:
- lib/snap_api_client/resources/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#transport ⇒ Object
readonly
Returns the value of attribute transport.
Instance Method Summary collapse
-
#initialize(transport) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(transport) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/snap_api_client/resources/base.rb', line 8 def initialize(transport) @transport = transport end |
Instance Attribute Details
#transport ⇒ Object (readonly)
Returns the value of attribute transport.
6 7 8 |
# File 'lib/snap_api_client/resources/base.rb', line 6 def transport @transport end |