app/helpers/spree/api/api_helpers.rb in spree_api-2.2.1 vs app/helpers/spree/api/api_helpers.rb in spree_api-2.2.2
- old
+ new
@@ -46,11 +46,11 @@
end
@@product_attributes = [
:id, :name, :description, :price, :display_price, :available_on,
:slug, :meta_description, :meta_keywords, :shipping_category_id,
- :taxon_ids
+ :taxon_ids, :total_on_hand
]
@@product_property_attributes = [
:id, :product_id, :property_id, :value, :property_name
]
@@ -110,11 +110,11 @@
]
@@address_attributes = [
:id, :firstname, :lastname, :full_name, :address1, :address2, :city,
:zipcode, :phone, :company, :alternative_phone, :country_id, :state_id,
- :state_name
+ :state_name, :state_text
]
@@country_attributes = [:id, :iso_name, :iso, :iso3, :name, :numcode]
@@state_attributes = [:id, :name, :abbr, :country_id]
@@ -124,10 +124,10 @@
:originator_type, :originator_id, :amount, :label, :mandatory,
:locked, :eligible, :created_at, :updated_at
]
@@creditcard_attributes = [
- :id, :month, :year, :cc_type, :last_digits, :first_name, :last_name,
+ :id, :month, :year, :cc_type, :last_digits, :name,
:gateway_customer_profile_id, :gateway_payment_profile_id
]
@@user_attributes = [:id, :email, :created_at, :updated_at]