Class: Script::Layers::Domain::ExtensionPoint

Inherits:
Object
  • Object
show all
Defined in:
lib/project_types/script/layers/domain/extension_point.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, config) ⇒ ExtensionPoint

Returns a new instance of ExtensionPoint.



9
10
11
12
13
14
# File 'lib/project_types/script/layers/domain/extension_point.rb', line 9

def initialize(type, config)
  @type = type
  @sdks = {
    ts: ExtensionPointAssemblyScriptSDK.new(config["assemblyscript"]),
  }
end

Instance Attribute Details

#sdksObject (readonly)

Returns the value of attribute sdks.



7
8
9
# File 'lib/project_types/script/layers/domain/extension_point.rb', line 7

def sdks
  @sdks
end

#typeObject (readonly)

Returns the value of attribute type.



7
8
9
# File 'lib/project_types/script/layers/domain/extension_point.rb', line 7

def type
  @type
end