Sha256: a3d62490cff0e202bacfc996c948f75d101ff8b0a08ef6e396402f419e704ffe

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true

require_relative './card'

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