Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added after_id & before_id support for Story #73

Merged
merged 1 commit into from Jul 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/tracker_api/resources/story.rb
Expand Up @@ -6,6 +6,8 @@ class Story
attribute :client

attribute :accepted_at, DateTime
attribute :after_id, Integer
attribute :before_id, Integer
attribute :comment_ids, [Integer]
attribute :comments, [Comment]
attribute :created_at, DateTime
Expand Down Expand Up @@ -41,6 +43,8 @@ class UpdateRepresenter < Representable::Decorator

property :follower_ids, if: ->(options) { !options[:input].blank? }
property :name
property :after_id
property :before_id
property :description
property :story_type
property :current_state
Expand Down