Sha256: 40fe530e72abbeda610d2fe898d3dcbcc3e3c359addd4a4e0a91bee80da13f0e

Contents?: true

Size: 312 Bytes

Versions: 8

Compression:

Stored size: 312 Bytes

Contents

module MobileWorkflow
  module Displayable
    module Steps
      module Map
        def mw_map_item(id: self.id, text:, detail_text: nil, latitude:, longitude:)
          {id: id.to_s, text: text, detailText: detail_text, latitude: latitude, longitude: longitude}.compact
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mobile_workflow-0.10.2 app/models/concerns/mobile_workflow/displayable/steps/map.rb
mobile_workflow-0.10.1 app/models/concerns/mobile_workflow/displayable/steps/map.rb
mobile_workflow-0.10.0 app/models/concerns/mobile_workflow/displayable/steps/map.rb
mobile_workflow-0.9.0 app/models/concerns/mobile_workflow/displayable/steps/map.rb
mobile_workflow-0.8.9 app/models/concerns/mobile_workflow/displayable/steps/map.rb
mobile_workflow-0.7.9 app/models/concerns/mobile_workflow/displayable/steps/map.rb
mobile_workflow-0.7.8 app/models/concerns/mobile_workflow/displayable/steps/map.rb
mobile_workflow-0.7.7 app/models/concerns/mobile_workflow/displayable/steps/map.rb