lib/asana/resources/gen/projects_base.rb in asana-0.10.2 vs lib/asana/resources/gen/projects_base.rb in asana-0.10.3
- old
+ new
@@ -19,10 +19,10 @@
# > opt_pretty - [bool] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
# data - [Hash] the attributes to POST
def add_custom_field_setting_for_project(client, project_gid: required("project_gid"), options: {}, **data)
path = "/projects/{project_gid}/addCustomFieldSetting"
path["{project_gid}"] = project_gid
- parse(client.post(path, body: data, options: options)).first
+ CustomFieldSetting.new(parse(client.post(path, body: data, options: options)).first, client: client)
end
# Add followers to a project
#
# project_gid - [str] (required) Globally unique identifier for the project.