Class: CanTango::Permit::Special
- Defined in:
- lib/cantango/permit/special.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ability) ⇒ Special
constructor
A new instance of Special.
- #valid? ⇒ Boolean
Methods inherited from Base
#any, #category, #disable!, #disabled?, #modes, #name, #permit_type, #sync_rules!
Methods included from ClassMethods
#finder, #hash_key, #inherited, #modes, #type
Methods included from Helper::Naming
#account_name, #permit_name, #permit_type
Constructor Details
#initialize(ability) ⇒ Special
Returns a new instance of Special.
4 5 6 |
# File 'lib/cantango/permit/special.rb', line 4 def initialize ability super end |
Class Method Details
.hash_key ⇒ Object
8 9 10 |
# File 'lib/cantango/permit/special.rb', line 8 def self.hash_key nil end |
Instance Method Details
#valid? ⇒ Boolean
12 13 14 |
# File 'lib/cantango/permit/special.rb', line 12 def valid? true end |