Class: AgendrixMembersPollJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/agendrix_members_poll_job.rb

Constant Summary collapse

SEARCH_WITH_DELETED =
false

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#company_idObject (readonly)

Returns the value of attribute company_id.



2
3
4
# File 'app/jobs/agendrix_members_poll_job.rb', line 2

def company_id
  @company_id
end

Instance Method Details

#perform(company_id:) ⇒ Object



6
7
8
9
# File 'app/jobs/agendrix_members_poll_job.rb', line 6

def perform(company_id:)
  @company_id = company_id
  resolve_members
end