Exception: Pageflow::Quota::ExhaustedError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/pageflow/quota.rb

Direct Known Subclasses

ExceededError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(quota) ⇒ ExhaustedError

Returns a new instance of ExhaustedError.



6
7
8
# File 'lib/pageflow/quota.rb', line 6

def initialize(quota)
  @quota = quota
end

Instance Attribute Details

#quotaObject (readonly)

Returns the value of attribute quota.



4
5
6
# File 'lib/pageflow/quota.rb', line 4

def quota
  @quota
end