Class: LWS::Maps::Source
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Maps::Source
- Defined in:
- lib/lws/apps/maps.rb
Overview
The map source class
Instance Attribute Summary collapse
-
#key ⇒ String
The key used by the map implementation to select the map source.
-
#map_ids ⇒ Array<Integer>
The IDs of the maps using the map source.
-
#maps ⇒ Array<Map>
The maps using the map source.
-
#name ⇒ String
The name of the map source.
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
#key ⇒ String
Returns the key used by the map implementation to select the map source.
107 |
# File 'lib/lws/apps/maps.rb', line 107 attribute :key |
#map_ids ⇒ Array<Integer>
Returns the IDs of the maps using the map source.
111 |
# File 'lib/lws/apps/maps.rb', line 111 attribute :map_ids |
#maps ⇒ Array<Map>
Returns the maps using the map source.
115 |
# File 'lib/lws/apps/maps.rb', line 115 has_many :maps |
#name ⇒ String
Returns the name of the map source.
119 |
# File 'lib/lws/apps/maps.rb', line 119 attribute :name |