Class: CoolId::Id
- Inherits:
-
Struct
- Object
- Struct
- CoolId::Id
- Defined in:
- lib/cool_id.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#id_field ⇒ Object
Returns the value of attribute id_field.
-
#key ⇒ Object
Returns the value of attribute key.
-
#model_class ⇒ Object
Returns the value of attribute model_class.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
18 19 20 |
# File 'lib/cool_id.rb', line 18 def id @id end |
#id_field ⇒ Object
Returns the value of attribute id_field
18 19 20 |
# File 'lib/cool_id.rb', line 18 def id_field @id_field end |
#key ⇒ Object
Returns the value of attribute key
18 19 20 |
# File 'lib/cool_id.rb', line 18 def key @key end |
#model_class ⇒ Object
Returns the value of attribute model_class
18 19 20 |
# File 'lib/cool_id.rb', line 18 def model_class @model_class end |
#prefix ⇒ Object
Returns the value of attribute prefix
18 19 20 |
# File 'lib/cool_id.rb', line 18 def prefix @prefix end |