Class: Megam::Outputs
- Inherits:
-
Object
- Object
- Megam::Outputs
- Includes:
- Nilavu::MegamAttributes
- Defined in:
- lib/megam/mixins/outputs.rb
Constant Summary collapse
- ATTRIBUTES =
[]
Constants included from Nilavu::MegamAttributes
Nilavu::MegamAttributes::KEY, Nilavu::MegamAttributes::VALUE
Instance Attribute Summary collapse
-
#laststatus ⇒ Object
readonly
Returns the value of attribute laststatus.
-
#lastsuccessfulupdate ⇒ Object
readonly
Returns the value of attribute lastsuccessfulupdate.
-
#nodeip ⇒ Object
readonly
Returns the value of attribute nodeip.
-
#privateip ⇒ Object
readonly
Returns the value of attribute privateip.
-
#publicip ⇒ Object
readonly
Returns the value of attribute publicip.
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(params) ⇒ Outputs
constructor
A new instance of Outputs.
- #to_array ⇒ Object
Methods included from Nilavu::MegamAttributes
Constructor Details
#initialize(params) ⇒ Outputs
Returns a new instance of Outputs.
15 16 17 |
# File 'lib/megam/mixins/outputs.rb', line 15 def initialize(params) set_attributes(params) end |
Instance Attribute Details
#laststatus ⇒ Object (readonly)
Returns the value of attribute laststatus.
7 8 9 |
# File 'lib/megam/mixins/outputs.rb', line 7 def laststatus @laststatus end |
#lastsuccessfulupdate ⇒ Object (readonly)
Returns the value of attribute lastsuccessfulupdate.
7 8 9 |
# File 'lib/megam/mixins/outputs.rb', line 7 def lastsuccessfulupdate @lastsuccessfulupdate end |
#nodeip ⇒ Object (readonly)
Returns the value of attribute nodeip.
7 8 9 |
# File 'lib/megam/mixins/outputs.rb', line 7 def nodeip @nodeip end |
#privateip ⇒ Object (readonly)
Returns the value of attribute privateip.
7 8 9 |
# File 'lib/megam/mixins/outputs.rb', line 7 def privateip @privateip end |
#publicip ⇒ Object (readonly)
Returns the value of attribute publicip.
7 8 9 |
# File 'lib/megam/mixins/outputs.rb', line 7 def publicip @publicip end |
Instance Method Details
#attributes ⇒ Object
11 12 13 |
# File 'lib/megam/mixins/outputs.rb', line 11 def attributes ATTRIBUTES end |
#to_array ⇒ Object
19 20 21 |
# File 'lib/megam/mixins/outputs.rb', line 19 def to_array array = [] end |