Class: Vra::Resources
- Inherits:
-
Object
- Object
- Vra::Resources
- Defined in:
- lib/vra/resources.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
- #all_resources ⇒ Object
- #by_id(id) ⇒ Object
-
#initialize(client) ⇒ Resources
constructor
A new instance of Resources.
Constructor Details
#initialize(client) ⇒ Resources
Returns a new instance of Resources.
24 25 26 |
# File 'lib/vra/resources.rb', line 24 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
22 23 24 |
# File 'lib/vra/resources.rb', line 22 def client @client end |