Class: SnapDeploy::Provider::Heroku::API::Invoice
- Inherits:
-
Object
- Object
- SnapDeploy::Provider::Heroku::API::Invoice
- Defined in:
- lib/snap_deploy/provider/heroku/api.rb
Overview
An invoice is an itemized bill of goods for an account which includes pricing and charges.
Instance Method Summary collapse
-
#info(invoice_number) ⇒ Object
Info for existing invoice.
-
#initialize(client) ⇒ Invoice
constructor
A new instance of Invoice.
-
#list ⇒ Object
List existing invoices.
Constructor Details
#initialize(client) ⇒ Invoice
925 926 927 |
# File 'lib/snap_deploy/provider/heroku/api.rb', line 925 def initialize(client) @client = client end |
Instance Method Details
#info(invoice_number) ⇒ Object
Info for existing invoice.
932 933 934 |
# File 'lib/snap_deploy/provider/heroku/api.rb', line 932 def info(invoice_number) @client.invoice.info(invoice_number) end |
#list ⇒ Object
List existing invoices.
937 938 939 |
# File 'lib/snap_deploy/provider/heroku/api.rb', line 937 def list() @client.invoice.list() end |