Sha256: 6859bcc9476986c7adf087e4589a42bd80709ead67d71690ab13a606f2b020b0

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

# frozen_string_literal: true

require_relative './card'

module YandexCheckout
  module Entity
    class PaymentMethod
      extend  Dry::Initializer
      extend  YandexCheckout::Callable
      include YandexCheckout::Optional

      option :type, proc(&:to_s)
      option :id, proc(&:to_s)
      option :saved
      option :card, Entity::Card, optional: true
      option :title, proc(&:to_s), optional: true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yandex-checkout-0.1.1 lib/yandex-checkout/entity/payment_method.rb