Created
September 14, 2016 20:50
-
-
Save johnhamelink/0395c139e61e475018dd998249c83d23 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 has_ios? | |
devices.exists?(device_type: :ios) | |
end | |
def has_android? | |
devices.exists?(device_type: :android) | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment