Class: DropletKit::RateLimitReached

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

Instance Attribute Summary collapse

Instance Attribute Details

#limitObject



181
182
183
# File 'lib/droplet_kit.rb', line 181

def limit
  @limit.to_i if @limit
end

#remainingObject



185
186
187
# File 'lib/droplet_kit.rb', line 185

def remaining
  @remaining.to_i if @remaining
end

#reset_atObject

Returns the value of attribute reset_at.



178
179
180
# File 'lib/droplet_kit.rb', line 178

def reset_at
  @reset_at
end