Module: Treaty::Context::Callable

Defined in:
lib/treaty/context/callable.rb

Instance Method Summary collapse

Instance Method Details

#call!(version:, params:, context: nil, inventory: nil) ⇒ Object



6
7
8
9
10
# File 'lib/treaty/context/callable.rb', line 6

def call!(version:, params:, context: nil, inventory: nil)
  treaty_instance = send(:new)

  _call!(treaty_instance, context:, inventory:, version:, params:)
end