Class: Oz::Resources::Base
- Inherits:
-
Object
- Object
- Oz::Resources::Base
- Defined in:
- lib/oz/resources/base.rb
Overview
Shared behaviour for API resource wrappers. Holds the Client and provides small helpers for wrapping responses and encoding path segments.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(client) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(client) ⇒ Base
Returns a new instance of Base.
10 11 12 |
# File 'lib/oz/resources/base.rb', line 10 def initialize(client) @client = client end |