Exception: ChupaText::EncryptedError
- Defined in:
- lib/chupa-text/error.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ EncryptedError
constructor
A new instance of EncryptedError.
Constructor Details
#initialize(data) ⇒ EncryptedError
Returns a new instance of EncryptedError.
33 34 35 36 |
# File 'lib/chupa-text/error.rb', line 33 def initialize(data) @data = data super("Encrypted data: <#{data.uri}>(#{data.mime_type})") end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
32 33 34 |
# File 'lib/chupa-text/error.rb', line 32 def data @data end |