Sha256: 2d812f442d8625ee855da39b36eff7630de6e023b89bba120e8aeef789712761
Contents?: true
Size: 598 Bytes
Versions: 2
Compression:
Stored size: 598 Bytes
Contents
module GoTransverseTractApi module Order class ScheduledCharge def self.get_scheduled_charges scheduled_charges sch_charges = { attributes: api_data.get_page_info(scheduled_charges), scheduleCharge: { eid: scheduled_charges[:eid], description: scheduled_charges[:description], amount: scheduled_charges[:amount], invoiced: scheduled_charges[:invoiced], chargeDate: scheduled_charges[:charge_date] } } sch_charges.delete_if{|k,v| v.nil?} end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gotransverse-tract-api-0.5.2 | lib/gotransverse-tract-api/order/scheduled_charge.rb |
gotransverse-tract-api-0.5.1 | lib/gotransverse-tract-api/order/scheduled_charge.rb |