Sha256: ab6224e9c607ed881a214a1b31453627c154e1fe09e8cfcf6a82750164554ba3

Contents?: true

Size: 304 Bytes

Versions: 10

Compression:

Stored size: 304 Bytes

Contents

module MangoPay
  class PaymentMethodMetadata < Resource
    include HTTPCalls::Fetch
    include HTTPCalls::Update

    class << self
      def get_metadata(metadata)
        url = "#{MangoPay.api_path}/payment-methods/metadata"
        MangoPay.request(:post, url, metadata)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mangopay-3.28.0 lib/mangopay/payment_method_metadata.rb
mangopay-3.27.0 lib/mangopay/payment_method_metadata.rb
mangopay-3.26.1 lib/mangopay/payment_method_metadata.rb
mangopay-3.26.0 lib/mangopay/payment_method_metadata.rb
mangopay-3.25.1 lib/mangopay/payment_method_metadata.rb
mangopay-3.25.0 lib/mangopay/payment_method_metadata.rb
mangopay-3.24.1 lib/mangopay/payment_method_metadata.rb
mangopay-3.24.0 lib/mangopay/payment_method_metadata.rb
mangopay-3.23.0 lib/mangopay/payment_method_metadata.rb
mangopay-3.22.0 lib/mangopay/payment_method_metadata.rb