Class: Wineskills::CLI
- Inherits:
-
Thor
- Object
- Thor
- Wineskills::CLI
- Defined in:
- lib/wineskills/cli.rb
Instance Method Summary collapse
Instance Method Details
#search(query) ⇒ Object
11 12 13 |
# File 'lib/wineskills/cli.rb', line 11 def search(query) puts Rpc.instance.client.call(:SearchWines, query: query)..wines end |
#wines ⇒ Object
6 7 8 |
# File 'lib/wineskills/cli.rb', line 6 def wines puts Rpc.instance.client.call(:GetWines)..wines end |