Class: ChurchCommunityBuilder::IndividualListReader

Inherits:
ApiReader
  • Object
show all
Defined in:
lib/readers/individual_list_reader.rb

Overview

This reader works with both Individual List and ValidIndividualList

Instance Attribute Summary

Attributes inherited from ApiReader

#headers

Instance Method Summary collapse

Methods inherited from ApiReader

#load_feed

Constructor Details

#initialize(options = {}) ⇒ IndividualListReader

Constructor.



9
10
11
12
13
14
# File 'lib/readers/individual_list_reader.rb', line 9

def initialize(options = {})
  filter = options[:filter]

  @url_data_params = options[:url_data_params]
  @url_data_params.merge!({:filter => filter}) if filter
end