Class: Stattleship::Params::RankingsParams
- Inherits:
-
QueryParams
- Object
- QueryParams
- Stattleship::Params::RankingsParams
- Defined in:
- lib/stattleship/params/rankings_params.rb
Instance Attribute Summary collapse
-
#on ⇒ Object
Returns the value of attribute on.
-
#place ⇒ Object
Returns the value of attribute place.
-
#ranking ⇒ Object
Returns the value of attribute ranking.
Attributes inherited from QueryParams
Instance Method Summary collapse
Methods inherited from QueryParams
Instance Attribute Details
#on ⇒ Object
Returns the value of attribute on.
4 5 6 |
# File 'lib/stattleship/params/rankings_params.rb', line 4 def on @on end |
#place ⇒ Object
Returns the value of attribute place.
4 5 6 |
# File 'lib/stattleship/params/rankings_params.rb', line 4 def place @place end |
#ranking ⇒ Object
Returns the value of attribute ranking.
4 5 6 |
# File 'lib/stattleship/params/rankings_params.rb', line 4 def ranking @ranking end |
Instance Method Details
#params ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/stattleship/params/rankings_params.rb', line 6 def params { 'on' => on, 'place' => place, 'ranking' => ranking, } end |