Skip to content

Commit

Permalink
Update project services docs for v4
Browse files Browse the repository at this point in the history
Fixes #396
  • Loading branch information
Gauvain Pocentek committed Dec 16, 2017
1 parent b33265c commit 4e048e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/gl_objects/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,11 @@
# end notes delete

# service get
# For v3
service = project.services.get(service_name='asana', project_id=1)
# display it's status (enabled/disabled)
# For v4
service = project.services.get('asana')
# display its status (enabled/disabled)
print(service.active)
# end service get

Expand Down

0 comments on commit 4e048e1

Please sign in to comment.