Exception: GoPlan::GoPlanError

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

Direct Known Subclasses

General, RateLimitExceeded, Unauthorized

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ GoPlanError

Returns a new instance of GoPlanError.



19
20
21
22
# File 'lib/goplan.rb', line 19

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



17
18
19
# File 'lib/goplan.rb', line 17

def data
  @data
end