Method: Megam::Components#initialize
- Defined in:
- lib/megam/core/components.rb
#initialize(email = nil, api_key = nil, host = nil) ⇒ Components
Returns a new instance of Components.
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/megam/core/components.rb', line 19 def initialize(email=nil, api_key=nil, host=nil) @id = nil @name =nil @tosca_type = nil @inputs = [] @outputs = [] @artifacts = {} @artifact_type = nil @content = nil @artifact_requirements = [] @related_components = [] @operations = [] @status = nil @created_at = nil super(email, api_key, host) end |