Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into move-to-dry-rb
Browse files Browse the repository at this point in the history
* origin/master:
  Specifying sub-tree for 'comments' is not supported #97
  Add attribute context to notification resource #95
  • Loading branch information
forest committed Mar 13, 2017
2 parents 0c5619c + 032c0cf commit ce19e1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -90,7 +90,6 @@ client = TrackerApi::Client.new(token: 'my-api-token') # Crea
client.project(project_id, fields: ':default,labels(name)') # Eagerly get labels with a project
client.project(project_id, fields: ':default,epics') # Eagerly get epics with a project
client.project(project_id).stories(fields: ':default,tasks') # Eagerly get stories with tasks
client.project.stories(fields: ':default,comments(:default,person)') # Eagerly get stories with comments and the person that made the comment
story.comments(fields: ':default,person') # Eagerly get comments and the person that made the comment for a story
```

Expand Down
1 change: 1 addition & 0 deletions lib/tracker_api/resources/notification.rb
Expand Up @@ -6,6 +6,7 @@ class Notification
attribute :client

attribute :message, String
attribute :context, String
attribute :kind, String
attribute :project, Project
attribute :story, Story
Expand Down

0 comments on commit ce19e1e

Please sign in to comment.