Class: CustomAttribute
- Inherits:
-
ContactAttribute
- Object
- LogicalModel
- ContactAttribute
- CustomAttribute
- Defined in:
- app/models/custom_attribute.rb
Constant Summary
Constants inherited from ContactAttribute
ContactAttribute::AVAILABLE_TYPES
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#primary ⇒ Object
Returns the value of attribute primary.
-
#public ⇒ Object
Returns the value of attribute public.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Methods inherited from ContactAttribute
#_create, #always_public?, #id, #id=, #json_root, #new_record?, #to_key
Methods included from ContactAttribute::CustomKeys
#async_custom_keys, #custom_keys
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'app/models/custom_attribute.rb', line 10 def name @name end |
#primary ⇒ Object
Returns the value of attribute primary.
10 11 12 |
# File 'app/models/custom_attribute.rb', line 10 def primary @primary end |
#public ⇒ Object
Returns the value of attribute public.
10 11 12 |
# File 'app/models/custom_attribute.rb', line 10 def public @public end |
#value ⇒ Object
Returns the value of attribute value.
10 11 12 |
# File 'app/models/custom_attribute.rb', line 10 def value @value end |
Instance Method Details
#_type ⇒ Object
12 13 14 |
# File 'app/models/custom_attribute.rb', line 12 def _type self.class.name end |