Method: Infostrada::Table.where

Defined in:
lib/infostrada/table.rb

.where(options = {}) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/infostrada/table.rb', line 9

def self.where(options = {})
  phase_id = options.delete(:phase_id)

  list = get!(URL, query: { phaseid: phase_id })

  table = Table.new(phase_id, list)
end