Last active
December 27, 2018 09:23
-
-
Save monorkin/d79df1012b768b34423865de6c0b6e89 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
fetch_transactions = | |
ApiClient.new(api_token).method(:get) | |
>> JSON.method(:parse) | |
>> (-> response { response['data']['transactions'] }) | |
fetch_transaction.call('/api/current_user/transactions') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment