fog/fog-storm_on_demand

View on GitHub
lib/fog/billing/storm_on_demand/models/payments.rb

Summary

Maintainability
A
0 mins
Test Coverage
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