Sha256: 4882a86da8709f6256e9d547a36e7bab9fbc7bc7129597b96aa3c7c80e4eea30

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true

module Yookassa
  module Entity
    class Card
      extend  Dry::Initializer
      extend  Yookassa::Callable
      include Yookassa::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
yookassa-0.1.0 lib/yookassa/entity/card.rb