Exception: Pandadoc::Api::ParamsValidator::RequiredParameterError
- Inherits:
-
StandardError
- Object
- StandardError
- Pandadoc::Api::ParamsValidator::RequiredParameterError
- Defined in:
- lib/pandadoc/api/params_validator.rb
Instance Attribute Summary collapse
-
#parameter ⇒ Object
readonly
Returns the value of attribute parameter.
Instance Method Summary collapse
-
#initialize(message, parameter) ⇒ RequiredParameterError
constructor
A new instance of RequiredParameterError.
Constructor Details
#initialize(message, parameter) ⇒ RequiredParameterError
Returns a new instance of RequiredParameterError.
7 8 9 10 11 12 13 |
# File 'lib/pandadoc/api/params_validator.rb', line 7 def initialize(, parameter) # Call the parent's constructor to set the message super() # Store the action in an instance variable @parameter = parameter end |
Instance Attribute Details
#parameter ⇒ Object (readonly)
Returns the value of attribute parameter.
5 6 7 |
# File 'lib/pandadoc/api/params_validator.rb', line 5 def parameter @parameter end |