Sha256: a958cb4dc1a1e289758e159733423ad42ae75da83d806aaf44f5111373311f48
Contents?: true
Size: 358 Bytes
Versions: 12
Compression:
Stored size: 358 Bytes
Contents
module Spreedly class AddPaymentMethod < Transaction field :retained, type: :boolean attr_reader :payment_method def initialize(xml_doc) super payment_method_xml_doc = xml_doc.at_xpath('.//payment_method') @payment_method = payment_method_xml_doc ? PaymentMethod.new_from(payment_method_xml_doc) : nil end end end
Version data entries
12 entries across 12 versions & 1 rubygems