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.
23 24 25 |
# File 'lib/vra/resources.rb', line 23 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
21 22 23 |
# File 'lib/vra/resources.rb', line 21 def client @client end |