Class: LWS::Maps::Marker
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Maps::Marker
- Defined in:
- lib/lws/apps/maps.rb
Overview
The map marker class
Instance Attribute Summary collapse
-
#lat ⇒ String?
The latitude of the map marker.
-
#long ⇒ String?
The longitued of the map marker.
-
#map ⇒ Map
The map that the marker is placed on.
-
#map_id ⇒ Integer
The ID of the map that the marker is placed on.
-
#name ⇒ String
The name of the map marker.
-
#website ⇒ String?
The website URL of the map marker.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#lat ⇒ String?
Returns the latitude of the map marker.
72 |
# File 'lib/lws/apps/maps.rb', line 72 attribute :lat |
#long ⇒ String?
Returns the longitued of the map marker.
76 |
# File 'lib/lws/apps/maps.rb', line 76 attribute :long |
#map ⇒ Map
Returns the map that the marker is placed on.
80 |
# File 'lib/lws/apps/maps.rb', line 80 belongs_to :map |
#map_id ⇒ Integer
Returns the ID of the map that the marker is placed on.
84 |
# File 'lib/lws/apps/maps.rb', line 84 attribute :map_id |
#name ⇒ String
Returns the name of the map marker.
88 |
# File 'lib/lws/apps/maps.rb', line 88 attribute :name |
#website ⇒ String?
Returns the website URL of the map marker.
92 |
# File 'lib/lws/apps/maps.rb', line 92 attribute :website |