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

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

Instance Method Summary collapse

Instance Method Details

#make(amount, card_code) ⇒ Object



10
11
12
13
# File 'lib/fog/storm_on_demand/models/billing/payments.rb', line 10

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