Sha256: 64dfc165da4dda3841b9f72e814dbb5a9d4d16235a04ddea399cfd7bc1243696
Contents?: true
Size: 511 Bytes
Versions: 2
Compression:
Stored size: 511 Bytes
Contents
module AppfluxRuby module MessageBuilders class Base def initialize exception, rack_env @exception = exception @rack_env = rack_env @request = ::Rack::Request.new(rack_env) @session = @request.session ## TODO: Probably extract this hash into a dedicated class? @notice = Hash.new end def build @notice end def self.build exception, rack_env new(exception, rack_env).build end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
appflux_ruby-0.1.2 | lib/appflux_ruby/message_builders/base.rb |
appflux_ruby-0.1.1 | lib/appflux_ruby/message_builders/base.rb |