Exception: HumanTone::Errors::DailyLimitExceededError
- Defined in:
- lib/humantone/errors.rb
Instance Attribute Summary collapse
-
#time_to_next_renew ⇒ Object
readonly
Returns the value of attribute time_to_next_renew.
Attributes inherited from Error
#details, #error_code, #request_id, #status_code
Instance Method Summary collapse
-
#initialize(message, time_to_next_renew: nil) ⇒ DailyLimitExceededError
constructor
A new instance of DailyLimitExceededError.
Methods inherited from Error
Constructor Details
#initialize(message, time_to_next_renew: nil) ⇒ DailyLimitExceededError
Returns a new instance of DailyLimitExceededError.
91 92 93 94 |
# File 'lib/humantone/errors.rb', line 91 def initialize(, time_to_next_renew: nil, **) super(, **) @time_to_next_renew = time_to_next_renew end |
Instance Attribute Details
#time_to_next_renew ⇒ Object (readonly)
Returns the value of attribute time_to_next_renew.
89 90 91 |
# File 'lib/humantone/errors.rb', line 89 def time_to_next_renew @time_to_next_renew end |