Class: Fog::Billing::StormOnDemand::Real
- Inherits:
-
Object
- Object
- Fog::Billing::StormOnDemand::Real
- Includes:
- StormOnDemand::RealShared
- Defined in:
- lib/fog/storm_on_demand/billing.rb,
lib/fog/storm_on_demand/requests/billing/get_invoice.rb,
lib/fog/storm_on_demand/requests/billing/make_payment.rb,
lib/fog/storm_on_demand/requests/billing/next_invoice.rb,
lib/fog/storm_on_demand/requests/billing/list_invoices.rb
Constant Summary
Constants included from StormOnDemand::RealShared
StormOnDemand::RealShared::API_URL, StormOnDemand::RealShared::API_VERSION
Instance Method Summary collapse
- #get_invoice(options = {}) ⇒ Object
- #list_invoices(options = {}) ⇒ Object
- #make_payment(options = {}) ⇒ Object
- #next_invoice(options = {}) ⇒ Object
Methods included from StormOnDemand::RealShared
#initialize, #reload, #request
Instance Method Details
#get_invoice(options = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/fog/storm_on_demand/requests/billing/get_invoice.rb', line 6 def get_invoice(={}) request( :path => '/Billing/Invoice/details', :body => Fog::JSON.encode(:params => ) ) end |
#list_invoices(options = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/fog/storm_on_demand/requests/billing/list_invoices.rb', line 6 def list_invoices(={}) request( :path => '/Billing/Invoice/list', :body => Fog::JSON.encode(:params => ) ) end |