Class: Identification

Inherits:
ContactAttribute show all
Defined in:
app/models/identification.rb

Constant Summary

Constants inherited from ContactAttribute

ContactAttribute::AVAILABLE_TYPES

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ContactAttribute

#_create, #id, #id=, #json_root, #new_record?, #to_key

Methods included from ContactAttribute::CustomKeys

#async_custom_keys, #custom_keys

Instance Attribute Details

#categoryObject

Returns the value of attribute category.



2
3
4
# File 'app/models/identification.rb', line 2

def category
  @category
end

#primaryObject

Returns the value of attribute primary.



2
3
4
# File 'app/models/identification.rb', line 2

def primary
  @primary
end

#publicObject

Returns the value of attribute public.



2
3
4
# File 'app/models/identification.rb', line 2

def public
  @public
end

#valueObject

Returns the value of attribute value.



2
3
4
# File 'app/models/identification.rb', line 2

def value
  @value
end

Instance Method Details

#_typeObject



13
14
15
# File 'app/models/identification.rb', line 13

def _type
  self.class.name
end

#always_public?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'app/models/identification.rb', line 17

def always_public?
  true
end