Class: LDA::Resources::Constants

Inherits:
Base
  • Object
show all
Defined in:
lib/lda_gov/resources/constants.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from LDA::Resources::Base

Instance Method Details

#contribution_typesObject



26
27
28
# File 'lib/lda_gov/resources/constants.rb', line 26

def contribution_types
  get('constants/contribution/contributiontypes/')
end

#countriesObject



22
23
24
# File 'lib/lda_gov/resources/constants.rb', line 22

def countries
  get('constants/general/countries/')
end

#filing_typesObject



6
7
8
# File 'lib/lda_gov/resources/constants.rb', line 6

def filing_types
  get('constants/filing/filingtypes/')
end

#government_entitiesObject



14
15
16
# File 'lib/lda_gov/resources/constants.rb', line 14

def government_entities
  get('constants/filing/governmententities/')
end

#lobbying_issuesObject



10
11
12
# File 'lib/lda_gov/resources/constants.rb', line 10

def lobbying_issues
  get('constants/filing/lobbyingissuecodes/')
end

#statesObject



18
19
20
# File 'lib/lda_gov/resources/constants.rb', line 18

def states
  get('constants/general/states/')
end