Sha256: aaaeae28cd9050b70c7000029b9726b7f333fa2fefef1f4023a21ba74897d353

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-storm_on_demand-0.1.0 lib/fog/billing/storm_on_demand/models/payments.rb
fog-storm_on_demand-0.0.1 lib/fog/billing/storm_on_demand/models/payments.rb