lib/tracker_api/endpoints/story.rb in tracker_api-0.1.0 vs lib/tracker_api/endpoints/story.rb in tracker_api-0.2.0

- old
+ new

@@ -6,13 +6,10 @@ def initialize(client) @client = client end def get(project_id, id) - data = client.request( - method: :get, - :path => "/projects/#{project_id}/stories/#{id}" - ).body + data = client.get("/projects/#{project_id}/stories/#{id}").body Resources::Story.new({ client: client }.merge(data)) end end end