Class: CanTango::Permit::Attribute::Builder
- Inherits:
-
Builder::Permit::Base
- Object
- Builder::Permit::Base
- CanTango::Permit::Attribute::Builder
- Includes:
- TestAttribute
- Defined in:
- lib/cantango/permit/attribute.rb
Instance Attribute Summary
Attributes inherited from Builder::Permit::Base
Instance Method Summary collapse
Methods included from TestAttribute
#plural_attribute, #test_plural, #test_single, #valid?
Methods inherited from Builder::Permit::Base
Methods included from Helper::Naming
#account_name, #permit_name, #permit_type
Constructor Details
This class inherits a constructor from CanTango::Builder::Permit::Base
Instance Method Details
#build ⇒ Object
55 56 57 58 |
# File 'lib/cantango/permit/attribute.rb', line 55 def build return [] unless valid? super end |