Class: Formotion::RowType::MapRowData

Inherits:
Object
  • Object
show all
Defined in:
lib/formotion/row_type/map_row.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title, subtitle, coordinate, options = {}) ⇒ MapRowData

attr_accessor :title, :subtitle, :coordinate



10
11
12
13
14
15
# File 'lib/formotion/row_type/map_row.rb', line 10

def initialize(title, subtitle, coordinate, options={})
  @title=title
  @subtitle=subtitle
  @coordinate=coordinate
  @options=options
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



7
8
9
# File 'lib/formotion/row_type/map_row.rb', line 7

def options
  @options
end

#pinObject

Returns the value of attribute pin.



7
8
9
# File 'lib/formotion/row_type/map_row.rb', line 7

def pin
  @pin
end

Instance Method Details

#coordinateObject



25
26
27
# File 'lib/formotion/row_type/map_row.rb', line 25

def coordinate
  @coordinate
end

#subtitleObject



21
22
23
# File 'lib/formotion/row_type/map_row.rb', line 21

def subtitle
  @subtitle
end

#titleObject



17
18
19
# File 'lib/formotion/row_type/map_row.rb', line 17

def title
  @title
end