Class: KiriminAja::Services::OrderService
- Inherits:
-
Object
- Object
- KiriminAja::Services::OrderService
- Defined in:
- lib/kiriminaja/services/order/order.rb
Instance Attribute Summary collapse
-
#express ⇒ Object
readonly
Returns the value of attribute express.
-
#instant ⇒ Object
readonly
Returns the value of attribute instant.
Instance Method Summary collapse
-
#initialize(http) ⇒ OrderService
constructor
A new instance of OrderService.
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
#express ⇒ Object (readonly)
Returns the value of attribute express.
50 51 52 |
# File 'lib/kiriminaja/services/order/order.rb', line 50 def express @express end |
#instant ⇒ Object (readonly)
Returns the value of attribute instant.
50 51 52 |
# File 'lib/kiriminaja/services/order/order.rb', line 50 def instant @instant end |