Sha256: 7adeb574607792bc907cd33c3a6e47a211a30d6a2170420fce8b1741bfc3d177
Contents?: true
Size: 674 Bytes
Versions: 8
Compression:
Stored size: 674 Bytes
Contents
module Braintree class Transaction class DisbursementDetails include BaseModule attr_reader :disbursement_date attr_reader :settlement_amount attr_reader :settlement_currency_exchange_rate attr_reader :settlement_currency_iso_code attr_reader :success alias_method :success?, :success def initialize(attributes) set_instance_variables_from_hash attributes unless attributes.nil? @disbursement_date = Date.parse(disbursement_date) unless disbursement_date.nil? end def funds_held? @funds_held end def valid? !disbursement_date.nil? end end end end
Version data entries
8 entries across 8 versions & 1 rubygems