Class: Glia::Errors::RecipientOptedOutError
- Defined in:
- lib/glia/errors/client_errors.rb
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil) ⇒ RecipientOptedOutError
constructor
A new instance of RecipientOptedOutError.
Methods inherited from Error
Constructor Details
#initialize(message: nil) ⇒ RecipientOptedOutError
Returns a new instance of RecipientOptedOutError.
252 253 254 255 256 257 258 |
# File 'lib/glia/errors/client_errors.rb', line 252 def initialize(message: nil) super( type: RECIPIENT_OPTED_OUT_ERROR, ref: create_ref(RECIPIENT_OPTED_OUT_ERROR), message: || 'Recipient has opted out' ) end |