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.
73 |
# File 'lib/lws/apps/maps.rb', line 73 attribute :lat |
#long ⇒ String?
Returns the longitued of the map marker.
77 |
# File 'lib/lws/apps/maps.rb', line 77 attribute :long |
#map ⇒ Map
Returns the map that the marker is placed on.
81 |
# File 'lib/lws/apps/maps.rb', line 81 belongs_to :map |
#map_id ⇒ Integer
Returns the ID of the map that the marker is placed on.
85 |
# File 'lib/lws/apps/maps.rb', line 85 attribute :map_id |
#name ⇒ String
Returns the name of the map marker.
89 |
# File 'lib/lws/apps/maps.rb', line 89 attribute :name |
#website ⇒ String?
Returns the website URL of the map marker.
93 |
# File 'lib/lws/apps/maps.rb', line 93 attribute :website |