class Utter::Auth::Consumer
Public Class Methods
new(app, opts={}, params={})
click to toggle source
# File lib/generators/auth_consumer_ext_gem_generator.rb, line 9 def initialize(app, opts={}, params={}) @app = app @opts = opts @params = params end
Public Instance Methods
call(env)
click to toggle source
# File lib/generators/auth_consumer_ext_gem_generator.rb, line 15 def call(env) #TODO use ssd to store the @params, before passing to the stack! # extract the id from #include SSD p @params p response = HTTParty.get('') @app.call(env) p @params #TODO use ssd to store the @params, after passing to the stack! end