module TrackerApi module Endpoints class Epic attr_accessor :client def initialize(client) @client = client end 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 end