Sha256: 492b8f00fda0f9f8b2563d70c2a622fef476d6b46a43c1d521d5d6029788f8c1
Contents?: true
Size: 446 Bytes
Versions: 5
Compression:
Stored size: 446 Bytes
Contents
module Workarea module Klarna class BogusGateway def respond_to_missing?(method_name, include_private = false) Gateway.new.respond_to?(method_name) end def method_missing(method_name, *args) return super unless Gateway.new.respond_to?(method_name) OpenStruct.new( success?: false, message: 'This is a bogus gateway', params: {} ) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems