Class: Grape::Attack::Options
- Inherits:
-
Object
- Object
- Grape::Attack::Options
- Includes:
- ActiveModel::Model, ActiveModel::Validations
- Defined in:
- lib/grape/attack/options.rb
Defined Under Namespace
Classes: ProcOrNumberValidator
Instance Attribute Summary collapse
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#max ⇒ Object
Returns the value of attribute max.
-
#per ⇒ Object
Returns the value of attribute per.
-
#remaining ⇒ Object
Returns the value of attribute remaining.
Instance Attribute Details
#identifier ⇒ Object
Returns the value of attribute identifier.
9 10 11 |
# File 'lib/grape/attack/options.rb', line 9 def identifier @identifier end |
#max ⇒ Object
Returns the value of attribute max.
9 10 11 |
# File 'lib/grape/attack/options.rb', line 9 def max @max end |
#per ⇒ Object
Returns the value of attribute per.
9 10 11 |
# File 'lib/grape/attack/options.rb', line 9 def per @per end |
#remaining ⇒ Object
Returns the value of attribute remaining.
9 10 11 |
# File 'lib/grape/attack/options.rb', line 9 def remaining @remaining end |