Sha256: 6cc76234d152838383cd7fed544651ac11c1833065ff2bedf1f5122bb42c5f34

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

require 'sinatra'

require_relative 'api/index_api'
require_relative 'api/pacticipant_api'
require_relative 'api/pact_api'

module PactBroker
  class API < Sinatra::Base
#    content_type :json, 'application/json'
#    content_type :xml, 'text/xml'
#    default_format :json

    use Api::IndexApi
    use Api::PacticipantApi
    use Api::PactApi

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pact_broker-0.0.4 lib/pact_broker/api.rb
pact_broker-0.0.3 lib/pact_broker/api.rb
pact_broker-0.0.2 lib/pact_broker/api.rb
pact_broker-0.0.1 lib/pact_broker/api.rb