Sha256: a0a0679cfd6cda101db4685e120390adc632cbbbb06cda25740618fe1cc8b92d
Contents?: true
Size: 573 Bytes
Versions: 1
Compression:
Stored size: 573 Bytes
Contents
module FedgerAPI class Client # Tagged module Tagged # Returns companies associated with tags. def tagged_companies(query) tagged_provider(query, '/company') end # Returns fundings associated with tags. def tagged_fundings(query) tagged_provider(query, '/funding') end private def tagged_provider(query, uri) Response.new(tagged_request(query, uri)) end def tagged_request(query, uri) self.class.get("/tagged#{uri}", merge_options(query)) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fedger_api-0.0.1 | lib/fedger_api/client/tagged.rb |