module FedgerAPI::Client::Tagged
Public Instance Methods
tagged_companies(query)
click to toggle source
Returns companies associated with tags.
# File lib/fedger_api/client/tagged.rb, line 6 def tagged_companies(query) tagged_provider(query, '/company') end
tagged_fundings(query)
click to toggle source
Returns fundings associated with tags.
# File lib/fedger_api/client/tagged.rb, line 11 def tagged_fundings(query) tagged_provider(query, '/funding') end
Private Instance Methods
tagged_provider(query, uri)
click to toggle source
# File lib/fedger_api/client/tagged.rb, line 17 def tagged_provider(query, uri) Response.new(tagged_request(query, uri)) end
tagged_request(query, uri)
click to toggle source
# File lib/fedger_api/client/tagged.rb, line 21 def tagged_request(query, uri) self.class.get("/tagged#{uri}", merge_options(query)) end