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.



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

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

Instance Attribute Details

#paramObject (readonly)

Returns the value of attribute param.



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

def param
  @param
end