require 'grape'

require_relative './worker.rb'
require_relative '../models/build.rb'
require_relative '../entities/build.rb'
require_relative './resources/build.rb'

module Ephemeral
  class API < Grape::API
    version 'v1', vendor: 'factor'
    format :json

    group(:builds) { mount Ephemeral::Resources::Build }
  end
end

require 'grape'

require_relative './worker.rb'
require_relative '../models/build.rb'
require_relative '../entities/build.rb'
require_relative './resources/build.rb'

module Ephemeral
  class API < Grape::API
    version 'v1', vendor: 'factor'
    format :json

    group(:builds) { mount Ephemeral::Resources::Build }
    group(:files)  { mount Ephemeral::Resources::File }
  end
end

Add files group to API
Add files group to API
