Class: Nephophobia::Response::Vnc
- Inherits:
-
Object
- Object
- Nephophobia::Response::Vnc
- Defined in:
- lib/nephophobia/response/vnc.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Vnc
constructor
A new instance of Vnc.
Constructor Details
#initialize(attributes) ⇒ Vnc
Returns a new instance of Vnc.
6 7 8 |
# File 'lib/nephophobia/response/vnc.rb', line 6 def initialize attributes @url = attributes['url'] end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
4 5 6 |
# File 'lib/nephophobia/response/vnc.rb', line 4 def attributes @attributes end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
4 5 6 |
# File 'lib/nephophobia/response/vnc.rb', line 4 def url @url end |