Class: DropletKit::RateLimitReached

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

Instance Attribute Summary collapse

Instance Attribute Details

#limitObject



87
88
89
# File 'lib/droplet_kit.rb', line 87

def limit
  @limit.to_i if @limit
end

#remainingObject



91
92
93
# File 'lib/droplet_kit.rb', line 91

def remaining
  @remaining.to_i if @remaining
end

#reset_atObject

Returns the value of attribute reset_at.



84
85
86
# File 'lib/droplet_kit.rb', line 84

def reset_at
  @reset_at
end