Created
March 4, 2018 20:01
-
-
Save corroded/0e3a3db51b8ebf09a02ad01df35e19e3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
require 'rest-client' | |
class ApiCaller | |
def run | |
url = RouteBuilder.new(some_arg: 'hello').run | |
RestClient.post(url, params, headers) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment