module TrackerApi module Endpoints class Project attr_accessor :client def initialize(client) @client = client end def get(id, params={}) data = client.get("/projects/#{id}", params: params).body Resources::Project.new({ client: client }.merge(data)) end end end end