Class: OurEelHacks::Middleware

Inherits:
Object
  • Object
show all
Defined in:
lib/our-eel-hacks/middleware.rb

Direct Known Subclasses

Rack, Sidekiq

Instance Method Summary collapse

Constructor Details

#initialize(flavor) ⇒ Middleware

Returns a new instance of Middleware.



5
6
7
8
# File 'lib/our-eel-hacks/middleware.rb', line 5

def initialize(flavor)
  @flavor = flavor
  @canary_string = "Canary: #{Time.now.to_s}"
end