Exception: Lich::DragonRealms::SlackBot::ThrottlingError
Instance Attribute Summary collapse
-
#retry_after ⇒ Object
readonly
Returns the value of attribute retry_after.
Instance Method Summary collapse
-
#initialize(msg, retry_after = nil) ⇒ ThrottlingError
constructor
A new instance of ThrottlingError.
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_after ⇒ Object (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 |