Class: Analytic::PhoneRecordFact::Result

Inherits:
Data
  • Object
show all
Defined in:
app/reports/analytic/phone_record_fact.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(individuals: [], summary: nil, date_start: nil, date_end: nil) ⇒ Result

Returns a new instance of Result.



5
# File 'app/reports/analytic/phone_record_fact.rb', line 5

def initialize(individuals: [], summary: nil, date_start: nil, date_end: nil) = super

Instance Attribute Details

#date_endObject (readonly)

Returns the value of attribute date_end

Returns:

  • (Object)

    the current value of date_end



4
5
6
# File 'app/reports/analytic/phone_record_fact.rb', line 4

def date_end
  @date_end
end

#date_startObject (readonly)

Returns the value of attribute date_start

Returns:

  • (Object)

    the current value of date_start



4
5
6
# File 'app/reports/analytic/phone_record_fact.rb', line 4

def date_start
  @date_start
end

#individualsObject (readonly)

Returns the value of attribute individuals

Returns:

  • (Object)

    the current value of individuals



4
5
6
# File 'app/reports/analytic/phone_record_fact.rb', line 4

def individuals
  @individuals
end

#summaryObject (readonly)

Returns the value of attribute summary

Returns:

  • (Object)

    the current value of summary



4
5
6
# File 'app/reports/analytic/phone_record_fact.rb', line 4

def summary
  @summary
end