Class: Workarea::Yotpo::BogusGateway

Inherits:
Object
  • Object
show all
Defined in:
lib/workarea/yotpo/bogus_gateway.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ BogusGateway

Returns a new instance of BogusGateway.



6
7
8
# File 'lib/workarea/yotpo/bogus_gateway.rb', line 6

def initialize(options = {})
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



4
5
6
# File 'lib/workarea/yotpo/bogus_gateway.rb', line 4

def options
  @options
end

Instance Method Details

#create_order(order_details) ⇒ Object



10
11
12
# File 'lib/workarea/yotpo/bogus_gateway.rb', line 10

def create_order(order_details)
  Response.new(response)
end