Class: Extensiv::Resource
- Inherits:
-
Object
- Object
- Extensiv::Resource
- Defined in:
- lib/extensiv/resource.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(client) ⇒ Resource
Returns a new instance of Resource.
7 8 9 |
# File 'lib/extensiv/resource.rb', line 7 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
5 6 7 |
# File 'lib/extensiv/resource.rb', line 5 def client @client end |