Class: Aptible::BillForward::Usage
- Inherits:
-
Resource
- Object
- Sawyer::Resource
- Resource
- Aptible::BillForward::Usage
show all
- Defined in:
- lib/aptible/billforward/resource/usage.rb
Class Method Summary
collapse
Methods inherited from Resource
all, by_subscription_id, client, #client, collection_path, find, #href, #invoice, #serialize, #subscription, #update
Class Method Details
.basename ⇒ Object
4
5
6
|
# File 'lib/aptible/billforward/resource/usage.rb', line 4
def self.basename
'usage'
end
|
.create(params) ⇒ Object
8
9
10
|
# File 'lib/aptible/billforward/resource/usage.rb', line 8
def self.create(params)
client.post "#{collection_path}/create", new(client.agent, params)
end
|