Class: ShelbyArena::ApiReader
- Inherits:
-
Object
- Object
- ShelbyArena::ApiReader
- Defined in:
- lib/readers/api_reader.rb
Overview
This class is the base class for all ShelbyArena objects and is meant to be inherited.
Direct Known Subclasses
ContributionListReader, ContributionReader, FamilyReader, FundListReader, FundReader, PersonListReader, PersonReader
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
Instance Method Summary collapse
-
#load_data ⇒ Object
Loads the data.
Instance Attribute Details
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
6 7 8 |
# File 'lib/readers/api_reader.rb', line 6 def headers @headers end |
Instance Method Details
#load_data ⇒ Object
Loads the data.
11 12 13 14 |
# File 'lib/readers/api_reader.rb', line 11 def load_data @url_data_params ||= {} return _load_data(@url_data_path, @url_data_params) end |