Class: MyRepresentatives::Commonwealth::MergeLower

Inherits:
Object
  • Object
show all
Defined in:
lib/my_representatives/commonwealth/merge_lower.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMergeLower

Returns a new instance of MergeLower.



6
7
8
9
10
11
12
13
# File 'lib/my_representatives/commonwealth/merge_lower.rb', line 6

def initialize
  @csv_people   = MyRepresentatives::Commonwealth::CSVLower.new.people
  @web_people   = MyRepresentatives::Commonwealth::WebLower.new.people
  @email_people = MyRepresentatives::Commonwealth::CSVEmail.new.people
  @people = []
  check_and_update_person
  add_emails_to_person
end

Instance Attribute Details

#csv_peopleObject

Returns the value of attribute csv_people.



4
5
6
# File 'lib/my_representatives/commonwealth/merge_lower.rb', line 4

def csv_people
  @csv_people
end

#email_peopleObject

Returns the value of attribute email_people.



4
5
6
# File 'lib/my_representatives/commonwealth/merge_lower.rb', line 4

def email_people
  @email_people
end

#peopleObject

Returns the value of attribute people.



4
5
6
# File 'lib/my_representatives/commonwealth/merge_lower.rb', line 4

def people
  @people
end

#web_peopleObject

Returns the value of attribute web_people.



4
5
6
# File 'lib/my_representatives/commonwealth/merge_lower.rb', line 4

def web_people
  @web_people
end