class TestdroidAPI::FilterItem

Attributes

name[RW]
operand[RW]
type[RW]
value[RW]

Public Class Methods

new(name, value, operand, type) click to toggle source
# File lib/testdroid-api-filter-builder.rb, line 133
def initialize(name, value, operand, type)
  @name, @value, @operand, @type = name, value, operand, type
end

Public Instance Methods

to_s() click to toggle source
# File lib/testdroid-api-filter-builder.rb, line 141
def to_s
  "#{@type}_#{@name}_#{@operand}"
end
values() click to toggle source
# File lib/testdroid-api-filter-builder.rb, line 137
def values
  @value.join('|')
end