-
-
Save basicfeatures/77612d12ed0c4ba5b3e9619dadb4aa5f 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
json_response["languages"].any? { |language| | |
if language.key?("en") | |
puts "The sentence is in English" | |
elsif language.key?("de") | |
puts "The sentence is in German" | |
end | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment