Exception: ChupaText::EncryptedError

Inherits:
Error
  • Object
show all
Defined in:
lib/chupa-text/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



32
33
34
# File 'lib/chupa-text/error.rb', line 32

def data
  @data
end