Class: FederalRegister::Topic
- Defined in:
- lib/federal_register/topic.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
add_attribute, #fetch_full, #full?, #initialize, override_base_uri
Methods inherited from Client
Constructor Details
This class inherits a constructor from FederalRegister::Base
Class Method Details
.suggestions(args = {}) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/federal_register/topic.rb', line 6 def self.suggestions(args={}) response = get("/topics/suggestions", query: args).parsed_response response.map do |hsh| new(hsh, :full => true) end end |