Class: ViewModel::Metadata
- Inherits:
-
Struct
- Object
- Struct
- ViewModel::Metadata
- Defined in:
- lib/view_model.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#new ⇒ Object
(also: #new?)
Returns the value of attribute new.
-
#schema_version ⇒ Object
Returns the value of attribute schema_version.
-
#view_name ⇒ Object
Returns the value of attribute view_name.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
15 16 17 |
# File 'lib/view_model.rb', line 15 def id @id end |
#new ⇒ Object Also known as: new?
Returns the value of attribute new
15 16 17 |
# File 'lib/view_model.rb', line 15 def new @new end |
#schema_version ⇒ Object
Returns the value of attribute schema_version
15 16 17 |
# File 'lib/view_model.rb', line 15 def schema_version @schema_version end |
#view_name ⇒ Object
Returns the value of attribute view_name
15 16 17 |
# File 'lib/view_model.rb', line 15 def view_name @view_name end |