class TempoIQ::Find

Attributes

limit[R]
name[R]

Public Class Methods

new(limit = nil) click to toggle source
# File lib/tempoiq/models/find.rb, line 5
def initialize(limit = nil)
  @name = "find"
  @limit = limit
end

Public Instance Methods

to_hash() click to toggle source
# File lib/tempoiq/models/find.rb, line 10
def to_hash
  hash = {
    "quantifier" => "all"
  }
  hash["limit"] = limit if limit
  hash
end