Exception: Lich::DragonRealms::SlackBot::ThrottlingError

Inherits:
ApiError
  • Object
show all
Defined in:
documented/dragonrealms/commons/slackbot.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, retry_after = nil) ⇒ ThrottlingError

Returns a new instance of ThrottlingError.



14
15
16
17
# File 'documented/dragonrealms/commons/slackbot.rb', line 14

def initialize(msg, retry_after = nil)
  super(msg)
  @retry_after = retry_after
end

Instance Attribute Details

#retry_afterObject (readonly)

Returns the value of attribute retry_after.



12
13
14
# File 'documented/dragonrealms/commons/slackbot.rb', line 12

def retry_after
  @retry_after
end