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



25
26
27
# File 'lib/view_model.rb', line 25

def id
  @id
end

#migratedObject

Returns the value of attribute migrated

Returns:

  • (Object)

    the current value of migrated



25
26
27
# File 'lib/view_model.rb', line 25

def migrated
  @migrated
end

#newObject Also known as: new?

Returns the value of attribute new

Returns:

  • (Object)

    the current value of new



25
26
27
# File 'lib/view_model.rb', line 25

def new
  @new
end

#schema_versionObject

Returns the value of attribute schema_version

Returns:

  • (Object)

    the current value of schema_version



25
26
27
# File 'lib/view_model.rb', line 25

def schema_version
  @schema_version
end

#view_nameObject

Returns the value of attribute view_name

Returns:

  • (Object)

    the current value of view_name



25
26
27
# File 'lib/view_model.rb', line 25

def view_name
  @view_name
end