Class: Wlc::Resources::Resource
- Inherits:
-
Object
- Object
- Wlc::Resources::Resource
- Defined in:
- lib/wlc/resources/resource.rb
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.
6 7 8 |
# File 'lib/wlc/resources/resource.rb', line 6 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
4 5 6 |
# File 'lib/wlc/resources/resource.rb', line 4 def client @client end |