Exception: HDCloud::HDCloudError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hdcloud.rb

Direct Known Subclasses

General, Unauthorized

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ HDCloudError

Returns a new instance of HDCloudError.



11
12
13
14
# File 'lib/hdcloud.rb', line 11

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



9
10
11
# File 'lib/hdcloud.rb', line 9

def data
  @data
end