This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Review | |
module Account | |
class ReviewImagesController < ApplicationController | |
def create | |
puts params | |
render :json => {:stuff=>params}.to_json | |
end | |
end |