class DuffelAPI::Resources::OrderChangeRequest
Attributes
created_at[R]
id[R]
live_mode[R]
order_change_offers[R]
order_id[R]
slices[R]
updated_at[R]
Public Class Methods
new(object, response = nil)
click to toggle source
Calls superclass method
DuffelAPI::Resources::BaseResource::new
# File lib/duffel_api/resources/order_change_request.rb, line 15 def initialize(object, response = nil) @object = object @created_at = object["created_at"] @id = object["id"] @live_mode = object["live_mode"] @order_change_offers = object["order_change_offers"] @order_id = object["order_id"] @slices = object["slices"] @updated_at = object["updated_at"] super(object, response) end