Class: FSR::App::Limit
- Inherits:
-
Application
- Object
- Application
- FSR::App::Limit
- Defined in:
- lib/fsr/app/limit.rb
Instance Method Summary (collapse)
- - (Object) arguments
-
- (Limit) initialize(id = nil, realm = "$${domain}", limit = 5)
constructor
A new instance of Limit.
Methods inherited from Application
#app_name, #raw, #sendmsg, #to_s
Constructor Details
- (Limit) initialize(id = nil, realm = "$${domain}", limit = 5)
A new instance of Limit
6 7 8 9 |
# File 'lib/fsr/app/limit.rb', line 6 def initialize(id = nil, realm = "$${domain}", limit = 5) @realm, @id, @limit = realm, id, limit raise "Must supply a valid id" if @id.nil? end |
Instance Method Details
- (Object) arguments
11 12 13 |
# File 'lib/fsr/app/limit.rb', line 11 def arguments [@realm, @id, @limit] end |