require 'sinatra'
require 'json'

class ServiceBroker < Sinatra::Base
  get "/v2/catalog" do
    content_type :json

    description = {
      "services" => [{
        "id" => "echo-service",
        "name"=> "Echo Service",
        "description"=> "A service that echoes back the body of each web request it receives",
        "plans"=> [{
          "id"=> "free-plan",
          "name"=> "free",
          "description"=> "Echoing does not cost money."
        },{
          "id"=> "expensive-plan",
          "name"=> "expensive",
          "description"=> "Echoing costs lots of money."
        }]
      }]
    }

    description.to_json
  end
end

require 'sinatra'
require 'json'

class ServiceBroker < Sinatra::Base
  get "/v2/catalog" do
    content_type :json

    description = {
      "services" => [{
        "id" => "github-repo",
        "name"=> " GitHub repository service",
        "description"=> "An instance of this service provides a repository which an app write to and read from",
        "plans"=> [{
          "id"=> "public-repo",
          "name"=> "free",
          "description"=> "All repositories are public."
        }]
      }]
    }

    description.to_json
  end
end

Change catalog to describe github repo service
Change catalog to describe github repo service
