class Beanstream::Criteria

Attributes

field[RW]
operator[RW]
value[RW]

Public Class Methods

new(field, operator, value) click to toggle source
# File lib/beanstream/reporting_api.rb, line 53
def initialize(field, operator, value)
  @field = field
  @operator = operator
  @value = value
end

Public Instance Methods

to_hash() click to toggle source
# File lib/beanstream/reporting_api.rb, line 59
def to_hash()
  {'field' => @field, 'operator' => @operator, 'value' => @value}
end