-
-
Save Haseeb-Qureshi/b34b7e50009ca20511abaf9e4c7e2aab 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
require 'faraday' | |
class Api | |
BASE_URL = 'http://www.lettermelater.com/account.php' | |
def self.get(query) | |
Faraday.get(BASE_URL, qe: query) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment