Class: DropletKit::RateLimitReached

Inherits:
Error
  • Object
show all
Defined in:
lib/droplet_kit.rb

Instance Attribute Summary collapse

Instance Attribute Details

#limitObject



170
171
172
# File 'lib/droplet_kit.rb', line 170

def limit
  @limit.to_i if @limit
end

#remainingObject



174
175
176
# File 'lib/droplet_kit.rb', line 174

def remaining
  @remaining.to_i if @remaining
end

#reset_atObject

Returns the value of attribute reset_at.



167
168
169
# File 'lib/droplet_kit.rb', line 167

def reset_at
  @reset_at
end