Class: Megam::Mixins::Assemblies
- Inherits:
-
Object
- Object
- Megam::Mixins::Assemblies
- Defined in:
- lib/megam/mixins/assemblies.rb
Instance Attribute Summary collapse
-
#assemblys ⇒ Object
readonly
Returns the value of attribute assemblys.
Instance Method Summary collapse
-
#initialize(params) ⇒ Assemblies
constructor
A new instance of Assemblies.
- #to_hash ⇒ Object
Constructor Details
#initialize(params) ⇒ Assemblies
Returns a new instance of Assemblies.
8 9 10 |
# File 'lib/megam/mixins/assemblies.rb', line 8 def initialize(params) @assemblys = CommonDeployable.new(params) end |
Instance Attribute Details
#assemblys ⇒ Object (readonly)
Returns the value of attribute assemblys.
6 7 8 |
# File 'lib/megam/mixins/assemblies.rb', line 6 def assemblys @assemblys end |
Instance Method Details
#to_hash ⇒ Object
12 13 14 |
# File 'lib/megam/mixins/assemblies.rb', line 12 def to_hash {:assemblys => assemblys.to_hash} end |