Class: Megam::Mixins::InputGroupData
- Inherits:
-
Object
- Object
- Megam::Mixins::InputGroupData
- Includes:
- Nilavu::MegamAttributes
- Defined in:
- lib/megam/mixins/common_deployable.rb
Constant Summary collapse
- ATTRIBUTES =
[ :domain, :sshkey, :provider, :cpu, :ram, :hdd, :version, :display_name, :password]
Constants included from Nilavu::MegamAttributes
Nilavu::MegamAttributes::KEY, Nilavu::MegamAttributes::VALUE
Instance Attribute Summary collapse
-
#cpu ⇒ Object
readonly
Returns the value of attribute cpu.
-
#display_name ⇒ Object
readonly
Returns the value of attribute display_name.
-
#domain ⇒ Object
readonly
Returns the value of attribute domain.
-
#hdd ⇒ Object
readonly
Returns the value of attribute hdd.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#ram ⇒ Object
readonly
Returns the value of attribute ram.
-
#sshkey ⇒ Object
readonly
Returns the value of attribute sshkey.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(params) ⇒ InputGroupData
constructor
A new instance of InputGroupData.
Methods included from Nilavu::MegamAttributes
Constructor Details
#initialize(params) ⇒ InputGroupData
Returns a new instance of InputGroupData.
67 68 69 |
# File 'lib/megam/mixins/common_deployable.rb', line 67 def initialize(params) set_attributes(params) end |
Instance Attribute Details
#cpu ⇒ Object (readonly)
Returns the value of attribute cpu.
51 52 53 |
# File 'lib/megam/mixins/common_deployable.rb', line 51 def cpu @cpu end |
#display_name ⇒ Object (readonly)
Returns the value of attribute display_name.
51 52 53 |
# File 'lib/megam/mixins/common_deployable.rb', line 51 def display_name @display_name end |
#domain ⇒ Object (readonly)
Returns the value of attribute domain.
51 52 53 |
# File 'lib/megam/mixins/common_deployable.rb', line 51 def domain @domain end |
#hdd ⇒ Object (readonly)
Returns the value of attribute hdd.
51 52 53 |
# File 'lib/megam/mixins/common_deployable.rb', line 51 def hdd @hdd end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
51 52 53 |
# File 'lib/megam/mixins/common_deployable.rb', line 51 def password @password end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
51 52 53 |
# File 'lib/megam/mixins/common_deployable.rb', line 51 def provider @provider end |
#ram ⇒ Object (readonly)
Returns the value of attribute ram.
51 52 53 |
# File 'lib/megam/mixins/common_deployable.rb', line 51 def ram @ram end |
#sshkey ⇒ Object (readonly)
Returns the value of attribute sshkey.
51 52 53 |
# File 'lib/megam/mixins/common_deployable.rb', line 51 def sshkey @sshkey end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
51 52 53 |
# File 'lib/megam/mixins/common_deployable.rb', line 51 def version @version end |
Instance Method Details
#attributes ⇒ Object
63 64 65 |
# File 'lib/megam/mixins/common_deployable.rb', line 63 def attributes ATTRIBUTES end |