Sha256: 17ab694611c6cf5ea26d48e3455ecd606c06d0941be069d2cc229fdf88fd27d0

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

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

      option :first6
      option :last4
      option :expiry_month
      option :expiry_year
      option :card_type, proc(&:to_s)
      option :source, 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/card.rb