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

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

Constructor Details

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

Returns a new instance of Match.



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

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