Class: Enrich::EnrichResource
- Inherits:
-
Object
- Object
- Enrich::EnrichResource
- Defined in:
- lib/resources/enrich.rb
Instance Method Summary collapse
- #company(query) ⇒ Object
-
#initialize(parent) ⇒ EnrichResource
constructor
A new instance of EnrichResource.
- #network(query) ⇒ Object
- #person(query) ⇒ Object
Constructor Details
#initialize(parent) ⇒ EnrichResource
Returns a new instance of EnrichResource.
12 13 14 |
# File 'lib/resources/enrich.rb', line 12 def initialize(parent) @parent = parent end |
Instance Method Details
#company(query) ⇒ Object
20 21 22 |
# File 'lib/resources/enrich.rb', line 20 def company(query) return @parent._get("/enrich/company", query) end |
#network(query) ⇒ Object
24 25 26 |
# File 'lib/resources/enrich.rb', line 24 def network(query) return @parent._get("/enrich/network", query) end |
#person(query) ⇒ Object
16 17 18 |
# File 'lib/resources/enrich.rb', line 16 def person(query) return @parent._get("/enrich/person", query) end |