class ESP::Team
Public Instance Methods
create_report()
click to toggle source
Enqueue a report to be run for this team. Returns a Report
object with a status of 'queued' and an id Periodically check the API
ESP::Report.find(<id>)
until status is 'complete'. If not successful, returns a Report
object with the errors object populated.
@return [ESP::Report]
# File lib/esp/resources/team.rb, line 38 def create_report Report.create_for_team(id) end
custom_signatures()
click to toggle source
The collection of custom_signatures
that belong to the team.
@return [ActiveResource::PaginatedCollection<ESP::CustomSignature>]
# File lib/esp/resources/team.rb, line 26 def custom_signatures CustomSignature.where(teams_id_eq: id) end