class SealineInsurance::Responses::Order
Constants
- STATUSES
Public Instance Methods
coverage()
click to toggle source
# File lib/sealine_insurance/responses/order.rb, line 34 def coverage to_money(body.dig('result_data', 'coverage')) end
documents()
click to toggle source
# File lib/sealine_insurance/responses/order.rb, line 38 def documents body['documents'] || [] end
external_numbers()
click to toggle source
# File lib/sealine_insurance/responses/order.rb, line 42 def external_numbers body['external_numbers'] || [] end
order_id()
click to toggle source
# File lib/sealine_insurance/responses/order.rb, line 22 def order_id body['id'] end
price()
click to toggle source
# File lib/sealine_insurance/responses/order.rb, line 30 def price to_money(body['price']) end
status()
click to toggle source
# File lib/sealine_insurance/responses/order.rb, line 26 def status body['status'] end