app/helpers/spree/api/api_helpers.rb in spree_api-2.0.5 vs app/helpers/spree/api/api_helpers.rb in spree_api-2.0.6

- old
+ new

@@ -26,11 +26,11 @@ def image_attributes [:id, :position, :attachment_content_type, :attachment_file_name, :type, :attachment_updated_at, :attachment_width, :attachment_height, :alt] end def option_value_attributes - [:id, :name, :presentation, :option_type_name, :option_type_id] + [:id, :name, :presentation, :option_type_name, :option_type_id, :option_type_presentation] end def order_attributes [:id, :number, :item_total, :total, :state, :adjustment_total, :user_id, :created_at, :updated_at, :completed_at, :payment_total, :shipment_state, :payment_state, :email, :special_instructions, :token] end @@ -42,11 +42,11 @@ def option_type_attributes [:id, :name, :presentation, :position] end def payment_attributes - [:id, :source_type, :source_id, :amount, :payment_method_id, :response_code, :state, :avs_response, :created_at, :updated_at] + [:id, :source_type, :source_id, :amount, :display_amount, :payment_method_id, :response_code, :state, :avs_response, :created_at, :updated_at] end def payment_method_attributes [:id, :name, :description] end @@ -111,6 +111,5 @@ [:id, :count_on_hand, :backorderable, :lock_version, :stock_location_id, :variant_id] end end end end -