Exception: Pandadoc::Api::ParamsValidator::ParameterTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- Pandadoc::Api::ParamsValidator::ParameterTypeError
- Defined in:
- lib/pandadoc/api/params_validator.rb
Instance Attribute Summary collapse
-
#parameter ⇒ Object
readonly
Returns the value of attribute parameter.
-
#received ⇒ Object
readonly
Returns the value of attribute received.
-
#requested ⇒ Object
readonly
Returns the value of attribute requested.
Instance Method Summary collapse
-
#initialize(message, parameter, received, requested) ⇒ ParameterTypeError
constructor
A new instance of ParameterTypeError.
Constructor Details
#initialize(message, parameter, received, requested) ⇒ ParameterTypeError
Returns a new instance of ParameterTypeError.
21 22 23 24 25 26 27 28 29 |
# File 'lib/pandadoc/api/params_validator.rb', line 21 def initialize(, parameter, received, requested) # Call the parent's constructor to set the message super() # Store the action in an instance variable @parameter = parameter @received = received @requested = requested end |
Instance Attribute Details
#parameter ⇒ Object (readonly)
Returns the value of attribute parameter.
19 20 21 |
# File 'lib/pandadoc/api/params_validator.rb', line 19 def parameter @parameter end |
#received ⇒ Object (readonly)
Returns the value of attribute received.
17 18 19 |
# File 'lib/pandadoc/api/params_validator.rb', line 17 def received @received end |
#requested ⇒ Object (readonly)
Returns the value of attribute requested.
18 19 20 |
# File 'lib/pandadoc/api/params_validator.rb', line 18 def requested @requested end |