Class: TextFilter

Inherits:
JSONable show all
Defined in:
lib/Entities/text_filter.rb

Instance Method Summary collapse

Methods inherited from JSONable

#from_json!, #to_h, #to_json

Instance Method Details

#ClearFilterObject

private



37
38
39
40
# File 'lib/Entities/text_filter.rb', line 37

def ClearFilter
  @text = ""
  @operation = ""
end

#EndsWith(text) ⇒ Object



21
22
23
24
25
26
# File 'lib/Entities/text_filter.rb', line 21

def EndsWith(text)
  self.ClearFilter
  @text = text
  @operation = "ENDS_WITH"
  return self
end

#Is(text) ⇒ Object



28
29
30
31
32
33
# File 'lib/Entities/text_filter.rb', line 28

def Is(text)
  self.ClearFilter
  @text = text
  @operation = "IS"
  return self
end

#OperatioClearFilterObject



8
9
10
# File 'lib/Entities/text_filter.rb', line 8

def OperatioClearFilter
  @operation = operation
end

#StartsWith(text) ⇒ Object

Methods



14
15
16
17
18
19
# File 'lib/Entities/text_filter.rb', line 14

def StartsWith(text)
  self.ClearFilter
  @text = text
  @operation = "STARTS_WITH"
  return self
end

#Text=(text) ⇒ Object



4
5
6
# File 'lib/Entities/text_filter.rb', line 4

def Text=(text)
  @text = text
end