Module: FedgerAPI::Client::Discover

Included in:
FedgerAPI::Client
Defined in:
lib/fedger_api/client/discover.rb

Overview

Discover

Instance Method Summary collapse

Instance Method Details

#discovery(query) ⇒ Object

Returns a graph of vertices and edges matching the search query.



6
7
8
# File 'lib/fedger_api/client/discover.rb', line 6

def discovery(query)
  discovery_provider(query, '')
end

#discovery_companies(query) ⇒ Object

Returns detailed corresponding companies matching the search query.



11
12
13
# File 'lib/fedger_api/client/discover.rb', line 11

def discovery_companies(query)
  discovery_provider(query, '/companies')
end

#discovery_vertices(query) ⇒ Object

Returns detailed corresponding vertices matching the search query.



16
17
18
# File 'lib/fedger_api/client/discover.rb', line 16

def discovery_vertices(query)
  discovery_provider(query, '/vertices')
end