Class: Tappy::Filter
- Inherits:
-
Object
- Object
- Tappy::Filter
- Defined in:
- lib/tappy/filter/filter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
- #filter(response) ⇒ Object
-
#initialize(options) ⇒ Filter
constructor
A new instance of Filter.
Constructor Details
#initialize(options) ⇒ Filter
Returns a new instance of Filter.
5 6 7 8 |
# File 'lib/tappy/filter/filter.rb', line 5 def initialize() @options = puts "filter options: #{}" end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/tappy/filter/filter.rb', line 3 def @options end |
Instance Method Details
#filter(response) ⇒ Object
10 11 12 |
# File 'lib/tappy/filter/filter.rb', line 10 def filter(response) response end |