lib/tracker_api/endpoints/epic.rb in tracker_api-0.2.9 vs lib/tracker_api/endpoints/epic.rb in tracker_api-0.2.10
- old
+ new
@@ -5,11 +5,11 @@
def initialize(client)
@client = client
end
- def get(project_id, id)
- data = client.get("/projects/#{project_id}/epics/#{id}").body
+ def get(project_id, id, params={})
+ data = client.get("/projects/#{project_id}/epics/#{id}", params: params).body
Resources::Epic.new({ project_id: project_id }.merge(data))
end
end
end