Module: CivicAide
- Extended by:
- Forwardable
- Defined in:
- lib/civic_aide.rb,
lib/civic_aide/client.rb,
lib/civic_aide/version.rb,
lib/civic_aide/elections.rb,
lib/civic_aide/representatives.rb
Defined Under Namespace
Classes: Client, Elections, Representatives
Constant Summary collapse
- VERSION =
"0.1.1"
Class Attribute Summary collapse
-
.official_only ⇒ Object
Returns the value of attribute official_only.
Class Method Summary collapse
Class Attribute Details
.official_only ⇒ Object
Returns the value of attribute official_only.
14 15 16 |
# File 'lib/civic_aide.rb', line 14 def official_only @official_only end |
Class Method Details
.api_key ⇒ Object
16 17 18 19 |
# File 'lib/civic_aide.rb', line 16 def api_key raise APIKeyNotSet if @api_key.nil? @api_key end |
.api_key=(api_key) ⇒ Object
21 22 23 |
# File 'lib/civic_aide.rb', line 21 def api_key=(api_key) @api_key = api_key end |