Sha256: 2ba0df2e6a04e7847d16d804cd71e66ce6e69f0800bb37f665bb9a8a34835613

Contents?: true

Size: 542 Bytes

Versions: 15

Compression:

Stored size: 542 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/multi'
      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

15 entries across 15 versions & 1 rubygems

Version Path
alephant-broker-2.1.3 lib/alephant/broker/response.rb
alephant-broker-2.1.2 lib/alephant/broker/response.rb
alephant-broker-2.1.1 lib/alephant/broker/response.rb
alephant-broker-2.1.0 lib/alephant/broker/response.rb
alephant-broker-2.0.3 lib/alephant/broker/response.rb
alephant-broker-2.0.2 lib/alephant/broker/response.rb
alephant-broker-2.0.1 lib/alephant/broker/response.rb
alephant-broker-2.0.0 lib/alephant/broker/response.rb
alephant-broker-1.3.1 lib/alephant/broker/response.rb
alephant-broker-1.2.1 lib/alephant/broker/response.rb
alephant-broker-1.2.0 lib/alephant/broker/response.rb
alephant-broker-1.1.3 lib/alephant/broker/response.rb
alephant-broker-1.1.2 lib/alephant/broker/response.rb
alephant-broker-1.1.1 lib/alephant/broker/response.rb
alephant-broker-1.1.0 lib/alephant/broker/response.rb