Class: DropletKit::RateLimitReached

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

Instance Attribute Summary collapse

Instance Attribute Details

#limitObject



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

def limit
  @limit.to_i if @limit
end

#remainingObject



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

def remaining
  @remaining.to_i if @remaining
end

#reset_atObject

Returns the value of attribute reset_at.



164
165
166
# File 'lib/droplet_kit.rb', line 164

def reset_at
  @reset_at
end