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



15
16
17
# File 'lib/view_model.rb', line 15

def id
  @id
end

#newObject Also known as: new?

Returns the value of attribute new

Returns:

  • (Object)

    the current value of new



15
16
17
# File 'lib/view_model.rb', line 15

def new
  @new
end

#schema_versionObject

Returns the value of attribute schema_version

Returns:

  • (Object)

    the current value of schema_version



15
16
17
# File 'lib/view_model.rb', line 15

def schema_version
  @schema_version
end

#view_nameObject

Returns the value of attribute view_name

Returns:

  • (Object)

    the current value of view_name



15
16
17
# File 'lib/view_model.rb', line 15

def view_name
  @view_name
end