Class: OVIRT::Link
- Inherits:
-
Object
- Object
- OVIRT::Link
- Defined in:
- lib/rbovirt.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#href ⇒ Object
Returns the value of attribute href.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
- #follow ⇒ Object
-
#initialize(client, id, href) ⇒ Link
constructor
A new instance of Link.
Constructor Details
#initialize(client, id, href) ⇒ Link
Returns a new instance of Link.
223 224 225 226 |
# File 'lib/rbovirt.rb', line 223 def initialize(client, id, href) @id, @href = id, href @client = client end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
221 222 223 |
# File 'lib/rbovirt.rb', line 221 def client @client end |
#href ⇒ Object
Returns the value of attribute href.
221 222 223 |
# File 'lib/rbovirt.rb', line 221 def href @href end |
#id ⇒ Object
Returns the value of attribute id.
221 222 223 |
# File 'lib/rbovirt.rb', line 221 def id @id end |