Class: Hound::Config
Instance Attribute Summary collapse
-
#actions ⇒ Object
An Array of actions Hound should track.
-
#limit ⇒ Object
Limit actions on a global basis.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
13 14 15 16 |
# File 'lib/hound/config.rb', line 13 def initialize @actions = %w'create update destroy' @limit = nil end |
Instance Attribute Details
#actions ⇒ Object
An Array of actions Hound should track.
8 9 10 |
# File 'lib/hound/config.rb', line 8 def actions @actions end |
#limit ⇒ Object
Limit actions on a global basis.
11 12 13 |
# File 'lib/hound/config.rb', line 11 def limit @limit end |