class RequestParamsValidation::MissingParameterError

Attributes

param_key[R]
param_type[R]

Public Class Methods

new(options) click to toggle source
Calls superclass method
# File lib/request_params_validation/exceptions/validator_errors.rb, line 7
def initialize(options)
  @param_key   = options[:param_key]
  @param_type  = options[:param_type]

  super(message)
end

Public Instance Methods

message() click to toggle source
# File lib/request_params_validation/exceptions/validator_errors.rb, line 14
def message
  "The parameter '#{param_key}' is missing"
end