Class: Scalingo::Endpoint::Apps
Instance Attribute Summary
Attributes included from Base
#api, #auth_api, #prefix
Instance Method Summary
collapse
Methods inherited from Collection
#all, #collection_name, #each, #find, #resource_class
included
#resources
Methods included from Base
#initialize
Instance Method Details
#create(name) ⇒ Object
4
5
6
|
# File 'lib/scalingo/endpoint/apps.rb', line 4
def create(name)
post(nil, app: { name: name })
end
|
#find_by ⇒ Object
8
9
10
|
# File 'lib/scalingo/endpoint/apps.rb', line 8
def find_by
'name'
end
|