Class: Factual::Query::Match

Inherits:
Base
  • Object
show all
Defined in:
lib/factual/query/match.rb

Instance Attribute Summary

Attributes inherited from Base

#action, #params, #path

Instance Method Summary collapse

Methods inherited from Base

#[], #each, #full_path, #last, #populate, #rows, #schema, #total_count

Constructor Details

#initialize(api, params = {}) ⇒ Match

Returns a new instance of Match.



6
7
8
9
10
# File 'lib/factual/query/match.rb', line 6

def initialize(api, params = {})
  @path = "places/match"
  @action = :read
  super(api, params)
end