Sha256: a2f7d30233ec6f6a32690150528e8c3f7b232dae8029c453fe877c007c57c5df

Contents?: true

Size: 375 Bytes

Versions: 5

Compression:

Stored size: 375 Bytes

Contents

require 'sinatra'
require 'wei-backend'

on_location do
  "You location:\n\t lat: #{params[:Latitude]} \n\t long: #{params[:Longitude]}"
end

on_subscribe do
  "Please share your location information"
end

on_text do

  #"hello world #{params[:Latitude]}"
  [{:title=>"", :description=>"", :picturl=>"", :url=>""},{:title=>"", :description=>"", :picturl=>"", :url=>""}]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wei-backend-0.1.2 examples/locations/app.rb
wei-backend-0.1.1 examples/locations/app.rb
wei-backend-0.1.0 examples/locations/app.rb
wei-backend-0.0.6 examples/locations/app.rb
wei-backend-0.0.5 examples/locations/app.rb