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

- old
+ new

@@ -6,14 +6,10 @@ def initialize(client) @client = client end def get(id, params={}) - data = client.request( - method: :get, - path: "/projects/#{id}", - params: params - ).body + data = client.get("/projects/#{id}", params: params).body Resources::Project.new({ client: client }.merge(data)) end end end