Class: ParamsAdaptorForFilter
- Inherits:
-
Delegator
- Object
- Delegator
- ParamsAdaptorForFilter
- Defined in:
- app/services/params_adaptor_for_filter.rb
Instance Method Summary collapse
- #__getobj__ ⇒ Object
- #__setobj__(obj) ⇒ Object
- #filter_query_params ⇒ Object
-
#initialize(obj) ⇒ ParamsAdaptorForFilter
constructor
A new instance of ParamsAdaptorForFilter.
Constructor Details
#initialize(obj) ⇒ ParamsAdaptorForFilter
Returns a new instance of ParamsAdaptorForFilter.
2 3 4 5 |
# File 'app/services/params_adaptor_for_filter.rb', line 2 def initialize(obj) super @_sd_obj = obj end |
Instance Method Details
#__getobj__ ⇒ Object
7 8 9 |
# File 'app/services/params_adaptor_for_filter.rb', line 7 def __getobj__ @_sd_obj end |
#__setobj__(obj) ⇒ Object
11 12 13 |
# File 'app/services/params_adaptor_for_filter.rb', line 11 def __setobj__(obj) @_sd_obj = obj end |
#filter_query_params ⇒ Object
15 16 17 |
# File 'app/services/params_adaptor_for_filter.rb', line 15 def filter_query_params @_sd_obj end |