Class: Rack::JSON::Filter
- Inherits:
-
Object
- Object
- Rack::JSON::Filter
- Includes:
- EndPoint
- Defined in:
- lib/rackjson/filter.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, options) ⇒ Filter
constructor
A new instance of Filter.
Constructor Details
#initialize(app, options) ⇒ Filter
Returns a new instance of Filter.
5 6 7 8 9 10 |
# File 'lib/rackjson/filter.rb', line 5 def initialize(app, ) @app = app @collections = [:collections] @filters = [:filters] @methods = [:methods] end |