Sha256: 42cef432649582b20cda14ac189cc0cbea50628ccde0611d81dcff969f0468d5

Contents?: true

Size: 219 Bytes

Versions: 5

Compression:

Stored size: 219 Bytes

Contents

module SolidusBraintree
  module PermittedAttributesConcern
    def payment_attributes
      super | [:payment_method_nonce]
    end

    def checkout_attributes
      super | [:braintree_device_data]
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_braintree-1.4.0 app/models/concerns/solidus_braintree/permitted_attributes_concern.rb
solidus_braintree-1.3.0 app/models/concerns/solidus_braintree/permitted_attributes_concern.rb
solidus_braintree-1.2.0 app/models/concerns/solidus_braintree/permitted_attributes_concern.rb
solidus_braintree-1.1.0 app/models/concerns/solidus_braintree/permitted_attributes_concern.rb
solidus_braintree-1.0.0 app/models/concerns/solidus_braintree/permitted_attributes_concern.rb