Class: Factual::Query::Resolve

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

Direct Known Subclasses

ResolveAbsolute

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 = {}) ⇒ Resolve

Returns a new instance of Resolve.



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

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