Class: HonestRenter::Filter

Inherits:
Object
  • Object
show all
Defined in:
lib/requests/filter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key, value) ⇒ Filter

Returns a new instance of Filter.



4
5
6
7
# File 'lib/requests/filter.rb', line 4

def initialize(key, value)
  @key = key
  @value = value
end

Instance Attribute Details

#keyObject

Returns the value of attribute key.



3
4
5
# File 'lib/requests/filter.rb', line 3

def key
  @key
end

#valueObject

Returns the value of attribute value.



3
4
5
# File 'lib/requests/filter.rb', line 3

def value
  @value
end