Method: Nymphia::DSL::Context::Gateway#initialize
- Defined in:
- lib/nymphia/dsl/context/gateway.rb
#initialize(context, name, description, default_params, gateway_usage, &block) ⇒ Gateway
Returns a new instance of Gateway.
2 3 4 5 |
# File 'lib/nymphia/dsl/context/gateway.rb', line 2 def initialize(context, name, description, default_params, gateway_usage, &block) super(context, name, description, default_params, gateway_usage, &block) @context[:gateways][name] = @result end |