Module: Shack

Defined in:
lib/shack.rb,
lib/shack/stamp.rb,
lib/shack/railtie.rb,
lib/shack/version.rb,
lib/shack/middleware.rb,
lib/shack/configuration.rb

Defined Under Namespace

Classes: Configuration, Middleware, Railtie, ShackRails, Stamp

Constant Summary collapse

VERSION =
"0.0.4"

Class Method Summary collapse

Class Method Details

.shaObject

If the Middleware is called and initialized, this sha will be set This could be used for easy passing to something like ‘Airbrake`



10
11
12
13
14
# File 'lib/shack.rb', line 10

def self.sha
  if defined? @@sha
    @@sha
  end
end

.sha=(sha) ⇒ Object



16
17
18
# File 'lib/shack.rb', line 16

def self.sha=(sha)
  @@sha = sha
end