Skip to content

Instantly share code, notes, and snippets.

View mitchellhenke's full-sized avatar

Mitchell Henke mitchellhenke

  • GSA (work) + Personal Projects
  • Milwaukee, WI
View GitHub Profile
@mitchellhenke
mitchellhenke / scout_apm_httpoison.ex
Last active April 18, 2018 00:08 — forked from itsderek23/scout_apm_httpoison.ex
Scout HTTPoison Instrumentation
# Instruments HTTPoison calls.
#
# Example usage:
#
# defmodule DemoWeb.PageController do
# use DemoWeb, :controller
# alias Demo.HTTPClient
#
# def index(conn, _params) do
# case HTTPClient.get("https://cnn.com") do
module Review
module Account
class ReviewImagesController < ApplicationController
def create
puts params
render :json => {:stuff=>params}.to_json
end
end