Class: LWS::Maps::Marker

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

Overview

The map marker class

Instance Attribute Summary collapse

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the map marker was created.

Returns:

  • (String)

    the timestamp of when the map marker was created



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

attribute :created_at

#idFixnum (readonly)

Returns the (unique) ID of the map marker.

Returns:

  • (Fixnum)

    the (unique) ID of the map marker



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

attribute :id

#latString?

Returns the latitude of the map marker.

Returns:

  • (String, nil)

    the latitude of the map marker



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

attribute :lat

#longString?

Returns the longitued of the map marker.

Returns:

  • (String, nil)

    the longitued of the map marker



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

attribute :long

#mapMap

Returns the map that the marker is placed on.

Returns:

  • (Map)

    the map that the marker is placed on



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

belongs_to :map

#map_idFixnum

Returns the ID of the map that the marker is placed on.

Returns:

  • (Fixnum)

    the ID of the map that the marker is placed on



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

attribute :map_id

#nameString

Returns the name of the map marker.

Returns:

  • (String)

    the name of the map marker



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

attribute :name

#updated_atString (readonly)

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

Returns:

  • (String)

    the timestamp of when the map marker was last updated



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

attribute :updated_at

#websiteString?

Returns the website URL of the map marker.

Returns:

  • (String, nil)

    the website URL of the map marker



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

attribute :website