Class: Grape::Attack::Options

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Model, ActiveModel::Validations
Defined in:
lib/grape/attack/options.rb

Defined Under Namespace

Classes: ProcOrNumberValidator

Instance Attribute Summary collapse

Instance Attribute Details

#identifierObject

Returns the value of attribute identifier.



9
10
11
# File 'lib/grape/attack/options.rb', line 9

def identifier
  @identifier
end

#maxObject

Returns the value of attribute max.



9
10
11
# File 'lib/grape/attack/options.rb', line 9

def max
  @max
end

#perObject

Returns the value of attribute per.



9
10
11
# File 'lib/grape/attack/options.rb', line 9

def per
  @per
end

#remainingObject

Returns the value of attribute remaining.



9
10
11
# File 'lib/grape/attack/options.rb', line 9

def remaining
  @remaining
end