class Gitlapse::Ext
Public Class Methods
new(app=nil, opts={})
click to toggle source
# File lib/mushin_ext_gitlapse.rb, line 9 def initialize app=nil, opts={}, params={} @app = app @opts = opts @params = params end
Public Instance Methods
call(env)
click to toggle source
# File lib/mushin_ext_gitlapse.rb, line 14 def call env env ||= Hash.new # write inbound code if @opts[:cqrs] == :cqrs_query then # write your code here if it is a cqrs query else # write your code here if it is a cqrs command end @app.call(env) # write outbound code end