Class: OpenFec::Resources::Base
- Inherits:
-
Object
- Object
- OpenFec::Resources::Base
- Defined in:
- lib/open_fec/resources/base.rb
Overview
Base class for all FEC API resource classes.
Direct Known Subclasses
CandidateTotals, Candidates, Committees, ContributionAggregates, Contributions, Disbursements, Elections, IndependentExpenditures
Instance Method Summary collapse
-
#initialize(client = OpenFec.client) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(client = OpenFec.client) ⇒ Base
Returns a new instance of Base.
9 10 11 |
# File 'lib/open_fec/resources/base.rb', line 9 def initialize(client = OpenFec.client) @client = client end |