Method: Hanami::Model::Configuration#gateway

Defined in:
lib/hanami/model/configuration.rb

#gatewayObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

NOTE: This must be changed when we want to support several adapters at the time

Raises:

Since:

  • 0.7.0



68
69
70
# File 'lib/hanami/model/configuration.rb', line 68

def gateway
  gateways[:default]
end