Sha256: 3d164aa482511908d12145d0dded7d2f420b6b1e175746302a7df109665fd888

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

require 'sinatra'

get '/:identifier' do
  "Get #{params[:identifier]}"
end

post '/:identifier/:public_key' do
  "Post id: #{params[:identifier]} key: #{params[:public_key]}"
end

delete '/:identifier' do
  "Delete #{params[:identifier]}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ssh4iot-0.0.1 lib/server.rb