Class: SearchRestriction

Inherits:
Object
  • Object
show all
Defined in:
lib/crowd/default.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ SearchRestriction

Returns a new instance of SearchRestriction.



144
145
146
147
# File 'lib/crowd/default.rb', line 144

def initialize(name = nil, value = nil)
  @name = name
  @value = value
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



141
142
143
# File 'lib/crowd/default.rb', line 141

def name
  @name
end

#valueObject

Returns the value of attribute value.



142
143
144
# File 'lib/crowd/default.rb', line 142

def value
  @value
end