Exception: Hyperdrive::Errors::MissingRequiredParam
- Defined in:
- lib/hyperdrive/errors/missing_required_param.rb
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(param, http_request_method) ⇒ MissingRequiredParam
constructor
A new instance of MissingRequiredParam.
Constructor Details
#initialize(param, http_request_method) ⇒ MissingRequiredParam
Returns a new instance of MissingRequiredParam.
4 5 6 7 |
# File 'lib/hyperdrive/errors/missing_required_param.rb', line 4 def initialize(param, http_request_method) @message = "The #{param} param is required by #{http_request_method} requests." @http_status_code = 400 end |