Class: Ukemi::CLI
- Inherits:
-
Thor
- Object
- Thor
- Ukemi::CLI
- Defined in:
- lib/ukemi/cli.rb
Instance Method Summary collapse
Instance Method Details
#lookup(data) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/ukemi/cli.rb', line 10 def lookup(data) data = refang(data) set_ordering ["order_by"] result = Moderator.lookup(data) puts JSON.pretty_generate(result) end |