Sha256: bb98b3dfb18861b4b7e4b617fc6129daf8d7c43cec611bbdbbb7db9b7f74ae47

Contents?: true

Size: 263 Bytes

Versions: 1

Compression:

Stored size: 263 Bytes

Contents

require 'sinatra'

module SnowmanIO
  class API < Sinatra::Base
    def self.start(options)
      sinatra_options = {}
      sinatra_options[:port] = options[:port]
      run!(sinatra_options)
    end

    get "/" do
      "SnowManIO Home Page"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
snowman-io-0.0.3 lib/snowman-io/api.rb