From 2bc7d74456ed0ea5e4e0edc0c264482b67940b31 Mon Sep 17 00:00:00 2001 From: kaurikk Date: Thu, 14 Jul 2016 11:44:48 +0300 Subject: [PATCH] Update story.rb --- lib/tracker_api/resources/story.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/tracker_api/resources/story.rb b/lib/tracker_api/resources/story.rb index 683a9bf..5125946 100644 --- a/lib/tracker_api/resources/story.rb +++ b/lib/tracker_api/resources/story.rb @@ -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 @@ -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