Class: Megam::Mixins::Components

Inherits:
Object
  • Object
show all
Defined in:
lib/megam/mixins/components.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ Components

Returns a new instance of Components.



7
8
9
10
11
12
13
14
# File 'lib/megam/mixins/components.rb', line 7

def initialize(params)
  @mixins = CommonDeployable.new(params)
  @artifacts = Outputs.new(params)
  add_repo(params)
  add_operations(params)
  add_related_components(params)
  add_artifacts(params)
end

Instance Attribute Details

#artifactsObject (readonly)

Returns the value of attribute artifacts.



5
6
7
# File 'lib/megam/mixins/components.rb', line 5

def artifacts
  @artifacts
end

#mixinsObject (readonly)

Returns the value of attribute mixins.



5
6
7
# File 'lib/megam/mixins/components.rb', line 5

def mixins
  @mixins
end

#operationsObject (readonly)

Returns the value of attribute operations.



5
6
7
# File 'lib/megam/mixins/components.rb', line 5

def operations
  @operations
end

Returns the value of attribute related_components.



5
6
7
# File 'lib/megam/mixins/components.rb', line 5

def related_components
  @related_components
end

#repoObject (readonly)

Returns the value of attribute repo.



5
6
7
# File 'lib/megam/mixins/components.rb', line 5

def repo
  @repo
end