1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/storm_on_demand/models/billing/payments.rb

20 lines
426 B
Ruby
Raw Normal View History

require 'fog/core/collection'
require 'fog/storm_on_demand/models/billing/payment'
module Fog
module Billing
class StormOnDemand
class Payments < Fog::Collection
model Fog::Billing::StormOnDemand::Payment
def make(amount, card_code)
service.make_payment(:amount => amount,
:card_code => card_code).body['amount']
end
end
end
end
end