Sha256: bbbb6a4290480d53f5b1df16f4262138601157f921a17c323ca33d7e05bf4413
Contents?: true
Size: 540 Bytes
Versions: 12
Compression:
Stored size: 540 Bytes
Contents
# http://johnnunemaker.com/httparty/ # https://github.com/jnunemaker/httparty require 'httparty' module Utter module Auth class Consumer def initialize(app, opts={}, params={}) @app = app @opts = opts @params = params end 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 end end end
Version data entries
12 entries across 12 versions & 1 rubygems