lib/lolp/client/project.rb in lolp-0.6.0 vs lib/lolp/client/project.rb in lolp-0.7.0
- old
+ new
@@ -26,8 +26,18 @@
end
def project_storage(name)
get("v1/projects/#{name}/storage")
end
+
+ def project_environment_variables(name)
+ get("v1/projects/#{name}/environment-variables")
+ end
+ alias project_envs project_environment_variables
+
+ def update_project_environment_variables(name, data=[])
+ put("v1/projects/#{name}/environment-variables", data)
+ end
+ alias update_project_envs update_project_environment_variables
end
end
end