lib/lolp/project.rb in lolp-0.2.0 vs lib/lolp/project.rb in lolp-0.2.1
- old
+ new
@@ -2,11 +2,11 @@
module Project
def projects
connection.get('projects')
end
- def create_project(template, params = {})
- connection.post('projects', params.merge(haco_type: template))
+ def create_project(type, params = {})
+ connection.post('projects', params.merge(type: type))
end
def delete_project(name)
connection.delete("projects/#{name}")
end