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