Module: Ocelots::Cli
- Defined in:
- lib/ocelots/cli.rb
Instance Method Summary collapse
Instance Method Details
#execute(*args) ⇒ Object
4 5 6 7 |
# File 'lib/ocelots/cli.rb', line 4 def execute *args command, *args = *args send command, *args end |
#phone(email) ⇒ Object
9 10 11 12 13 |
# File 'lib/ocelots/cli.rb', line 9 def phone email persona_id = Digest::MD5.hexdigest email response = request "profiles/#{persona_id}" puts response['phone'] if response end |