Class: KiriminAja::Services::OrderService

Inherits:
Object
  • Object
show all
Defined in:
lib/kiriminaja/services/order/order.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(http) ⇒ OrderService

Returns a new instance of OrderService.



52
53
54
55
# File 'lib/kiriminaja/services/order/order.rb', line 52

def initialize(http)
  @express = ExpressOrderService.new(http)
  @instant = InstantOrderService.new(http)
end

Instance Attribute Details

#expressObject (readonly)

Returns the value of attribute express.



50
51
52
# File 'lib/kiriminaja/services/order/order.rb', line 50

def express
  @express
end

#instantObject (readonly)

Returns the value of attribute instant.



50
51
52
# File 'lib/kiriminaja/services/order/order.rb', line 50

def instant
  @instant
end