Class: LWS::Maps::Source

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/maps.rb

Overview

The map source class

Instance Attribute Summary collapse

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the map source was created.

Returns:

  • (String)

    the timestamp of when the map source was created



143
# File 'lib/lws/apps/maps.rb', line 143

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the map source.

Returns:

  • (Fixnum)

    the (unique) ID of the map source



126
# File 'lib/lws/apps/maps.rb', line 126

attribute :id

#keyString

Returns the key used by the map implementation to select the map source.

Returns:

  • (String)

    the key used by the map implementation to select the map source



131
# File 'lib/lws/apps/maps.rb', line 131

attribute :key

#mapsArray<Map>

Returns the maps using the map source.

Returns:

  • (Array<Map>)

    the maps using the map source



135
# File 'lib/lws/apps/maps.rb', line 135

has_many :maps

#nameString

Returns the name of the map source.

Returns:

  • (String)

    the name of the map source



139
# File 'lib/lws/apps/maps.rb', line 139

attribute :name

#updated_atString (readonly)

Returns the timestamp of when the map source was last updated.

Returns:

  • (String)

    the timestamp of when the map source was last updated



147
# File 'lib/lws/apps/maps.rb', line 147

attribute :updated_at