Sha256: d68ab7e1ba2b40307c1354b0c1ad305961c7775ca9eb52c9a5d940bdff6da50c

Contents?: true

Size: 545 Bytes

Versions: 11

Compression:

Stored size: 545 Bytes

Contents

module Alephant
  module Broker
    module Response
      require "alephant/broker/response/base"
      require "alephant/broker/response/asset"
      require "alephant/broker/response/batch"
      require "alephant/broker/response/factory"

      class NotFound < Base
        def initialize
          super(404)
        end
      end

      class Status < Base
        def initialize
          super(200)
        end
      end

      class ServerError < Base
        def initialize
          super(500)
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
alephant-broker-3.19.1 lib/alephant/broker/response.rb
alephant-broker-3.19.0 lib/alephant/broker/response.rb
alephant-broker-3.18.0 lib/alephant/broker/response.rb
alephant-broker-3.17.0 lib/alephant/broker/response.rb
alephant-broker-3.16.2 lib/alephant/broker/response.rb
alephant-broker-3.16.1 lib/alephant/broker/response.rb
alephant-broker-3.16.0 lib/alephant/broker/response.rb
alephant-broker-3.15.2 lib/alephant/broker/response.rb
alephant-broker-3.15.1 lib/alephant/broker/response.rb
alephant-broker-3.15.0 lib/alephant/broker/response.rb
alephant-broker-3.14.0 lib/alephant/broker/response.rb