Class: ViewModel::Metadata

Inherits:
Struct
  • Object
show all
Defined in:
lib/view_model.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



20
21
22
# File 'lib/view_model.rb', line 20

def id
  @id
end

#migratedObject

Returns the value of attribute migrated

Returns:

  • (Object)

    the current value of migrated



20
21
22
# File 'lib/view_model.rb', line 20

def migrated
  @migrated
end

#newObject Also known as: new?

Returns the value of attribute new

Returns:

  • (Object)

    the current value of new



20
21
22
# File 'lib/view_model.rb', line 20

def new
  @new
end

#schema_versionObject

Returns the value of attribute schema_version

Returns:

  • (Object)

    the current value of schema_version



20
21
22
# File 'lib/view_model.rb', line 20

def schema_version
  @schema_version
end

#view_nameObject

Returns the value of attribute view_name

Returns:

  • (Object)

    the current value of view_name



20
21
22
# File 'lib/view_model.rb', line 20

def view_name
  @view_name
end