Sha256: b5450878158c8a573e607317115588c713e32214faf588006040f16bcafddf6a

Contents?: true

Size: 244 Bytes

Versions: 3

Compression:

Stored size: 244 Bytes

Contents

Spree::Api::ApiHelpers.module_eval do
  def legacy_return_authorization_attributes
    [:id, :number, :state, :amount, :order_id, :reason, :created_at, :updated_at]
  end

  self.inventory_unit_attributes << :legacy_return_authorization_id
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_legacy_return_authorizations-1.0.2 app/helpers/spree/api/api_helpers_decorator.rb
solidus_legacy_return_authorizations-1.0.1 app/helpers/spree/api/api_helpers_decorator.rb
solidus_legacy_return_authorizations-1.0.0 app/helpers/spree/api/api_helpers_decorator.rb