Created
March 31, 2020 04:28
-
-
Save agungsetiawan/498b7c949eb8564c4838f09cbe9c05b7 to your computer and use it in GitHub Desktop.
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
def call | |
# code omitted | |
res = Connection.internal_api.get do |req| | |
req.url "#{ENV['TRANSACTION_HOST']}/transactions?user_id=#{user_id}" | |
end | |
# code omitted | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment