Exception: DiscourseConnectProvider::InvalidParameterValueError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/discourse_connect_provider.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(param) ⇒ InvalidParameterValueError

Returns a new instance of InvalidParameterValueError.



12
13
14
15
# File 'lib/discourse_connect_provider.rb', line 12

def initialize(param)
  @param = param
  super("Invalid value for parameter `#{param}`")
end

Instance Attribute Details

#paramObject (readonly)

Returns the value of attribute param.



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

def param
  @param
end