Sha256: 6c4487e07b3be9273ce91cdb61cbaaee48e634886418d05408cc0df0d271d97a
Contents?: true
Size: 442 Bytes
Versions: 4
Compression:
Stored size: 442 Bytes
Contents
module PensioAPI module Responses class ReservationCapture < Base attr_reader :transaction, :capture_amount, :capture_currency def initialize(request) super(request) @transaction = PensioAPI::Transaction.new( transactions['Transaction'] ) @capture_amount = BigDecimal.new(@raw['CaptureAmount']) @capture_currency = @raw['CaptureCurrency'].to_i end end end end
Version data entries
4 entries across 4 versions & 1 rubygems