Class: DellinInfo::API::OrderStatus
- Inherits:
-
Object
- Object
- DellinInfo::API::OrderStatus
- Includes:
- ActiveSupport::Configurable, ValideData
- Defined in:
- lib/dellininfo/order_status.rb
Constant Summary collapse
- ATTRIBUTES =
[:errors, :estimatedDeliveryDate, :state, :giveout, :availableSfRequest, :receive]
Instance Method Summary collapse
Methods included from ValideData
#delete_spase_key, #parse_hash_response, #set_attr_method, #there_tracks
Instance Method Details
#to_s ⇒ Object
13 14 15 16 |
# File 'lib/dellininfo/order_status.rb', line 13 def to_s "Отправление из города: #{@receive['city']} в город #{@giveout['city']}\nСтатус: #{@state}\nОжидаемая дата прихода #{@estimatedDeliveryDate}\nТерминал прибытия: #{@giveout['terminal']}" end |