Class: Fog::Billing::StormOnDemand::Payments

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/billing/storm_on_demand/models/payments.rb

Instance Method Summary collapse

Instance Method Details

#make(amount, card_code) ⇒ Object



7
8
9
10
# File 'lib/fog/billing/storm_on_demand/models/payments.rb', line 7

def make(amount, card_code)
  service.make_payment(:amount => amount,
                       :card_code => card_code).body["amount"]
end