Module: Gateway::Feature::Timeout

Included in:
Base
Defined in:
lib/gateway/feature/timeout.rb

Constant Summary collapse

DEFAULT_TIMEOUT =
2

Instance Method Summary collapse

Instance Method Details

#timeoutObject



6
7
8
9
# File 'lib/gateway/feature/timeout.rb', line 6

def timeout
  @timeout ||= options.fetch  :timeout,
                              Gateway::Feature::Timeout::DEFAULT_TIMEOUT
end