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.
30 31 32 |
# File 'lib/megam/mixins/outputs.rb', line 30 def initialize(params) set_attributes(params) end |
Instance Attribute Details
#laststatus ⇒ Object (readonly)
Returns the value of attribute laststatus.
22 23 24 |
# File 'lib/megam/mixins/outputs.rb', line 22 def laststatus @laststatus end |
#lastsuccessfulupdate ⇒ Object (readonly)
Returns the value of attribute lastsuccessfulupdate.
22 23 24 |
# File 'lib/megam/mixins/outputs.rb', line 22 def lastsuccessfulupdate @lastsuccessfulupdate end |
#nodeip ⇒ Object (readonly)
Returns the value of attribute nodeip.
22 23 24 |
# File 'lib/megam/mixins/outputs.rb', line 22 def nodeip @nodeip end |
#privateip ⇒ Object (readonly)
Returns the value of attribute privateip.
22 23 24 |
# File 'lib/megam/mixins/outputs.rb', line 22 def privateip @privateip end |
#publicip ⇒ Object (readonly)
Returns the value of attribute publicip.
22 23 24 |
# File 'lib/megam/mixins/outputs.rb', line 22 def publicip @publicip end |
Instance Method Details
#attributes ⇒ Object
26 27 28 |
# File 'lib/megam/mixins/outputs.rb', line 26 def attributes ATTRIBUTES end |
#to_array ⇒ Object
34 35 36 |
# File 'lib/megam/mixins/outputs.rb', line 34 def to_array array = [] end |