Class: DropletKit::RateLimitReached

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

Instance Attribute Summary collapse

Instance Attribute Details

#limitObject



140
141
142
# File 'lib/droplet_kit.rb', line 140

def limit
  @limit.to_i if @limit
end

#remainingObject



144
145
146
# File 'lib/droplet_kit.rb', line 144

def remaining
  @remaining.to_i if @remaining
end

#reset_atObject

Returns the value of attribute reset_at.



137
138
139
# File 'lib/droplet_kit.rb', line 137

def reset_at
  @reset_at
end