Exception: Ridoku::InvalidConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, error) ⇒ InvalidConfig

Returns a new instance of InvalidConfig.



13
14
15
16
# File 'lib/ridoku/base.rb', line 13

def initialize(type, error)
  self.type = type
  self.error = error
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



11
12
13
# File 'lib/ridoku/base.rb', line 11

def error
  @error
end

#typeObject

Returns the value of attribute type.



11
12
13
# File 'lib/ridoku/base.rb', line 11

def type
  @type
end