Class: MyRepresentatives::NSW::MergeLower

Inherits:
Object
  • Object
show all
Defined in:
lib/my_representatives/nsw/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
# File 'lib/my_representatives/nsw/merge_lower.rb', line 6

def initialize
  @csv_people   = MyRepresentatives::NSW::CSVLower.new.people
  @web_people   = MyRepresentatives::NSW::WebLower.new.people
  @people = []
  check_and_update_person
end

Instance Attribute Details

#csv_peopleObject

Returns the value of attribute csv_people.



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

def csv_people
  @csv_people
end

#peopleObject

Returns the value of attribute people.



4
5
6
# File 'lib/my_representatives/nsw/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/nsw/merge_lower.rb', line 4

def web_people
  @web_people
end