Sha256: 8b5efacb1436c8e073f1893ae1d8db59cbd6e34a32808f41f63c60d347f460b1

Contents?: true

Size: 389 Bytes

Versions: 7

Compression:

Stored size: 389 Bytes

Contents

module AdaptivePayments
  module ReceiverAliases
    def self.included(base)
      base.instance_eval do
        alias_params :receiver, {
          :receiver_email  => :email,
          :receiver_amount => :amount,
          :payment_type    => :payment_type,
          :payment_subtype => :payment_subtype,
          :invoice_id      => :invoice_id
        }
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
creative-pp-adaptive-1.1.1 lib/pp-adaptive/types/aliases/receiver_aliases.rb
pp-adaptive-1.0.0 lib/pp-adaptive/types/aliases/receiver_aliases.rb
pp-adaptive-0.0.6 lib/pp-adaptive/types/aliases/receiver_aliases.rb
pp-adaptive-0.0.5 lib/pp-adaptive/types/aliases/receiver_aliases.rb
pp-adaptive-0.0.4 lib/pp-adaptive/types/aliases/receiver_aliases.rb
pp-adaptive-0.0.3 lib/pp-adaptive/types/aliases/receiver_aliases.rb
pp-adaptive-0.0.2 lib/pp-adaptive/types/aliases/receiver_aliases.rb