Module: Herdis::Handlers::Common

Included in:
AddShards, AddShepherd, Cluster, Info, JoinCluster, Ping, RemoveShards, RemoveShepherd, Sanity, Shards, Shutdown, ShutdownCluster
Defined in:
lib/herdis/handlers/common.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/herdis/handlers/common.rb', line 6

def self.included(base)
  base.use AsyncRack::Runtime
  base.use AsyncRack::Deflater
  base.use Goliath::Rack::DefaultMimeType
  base.use Goliath::Rack::Formatters::JSON
  base.use Goliath::Rack::Params
  base.use Herdis::Rack::DefaultHeaders
  base.use Herdis::Rack::HostParameter
end