Class: Scalingo::Endpoint::Addons
- Inherits:
-
Collection
- Object
- Collection
- Scalingo::Endpoint::Addons
- Defined in:
- lib/scalingo/endpoint/addons.rb
Instance Attribute Summary
Attributes included from Base
Instance Method Summary collapse
Methods inherited from Collection
#all, #collection_name, #each, #find, #find_by, #resource_class
Methods included from Scalingo::Endpoint
Methods included from ClassMethods
Methods included from Base
Instance Method Details
#create(addon_provider_id, plan_id) ⇒ Object
4 5 6 |
# File 'lib/scalingo/endpoint/addons.rb', line 4 def create(addon_provider_id, plan_id) post(nil, addon: { addon_provider_id: addon_provider_id, plan_id: plan_id }) end |