Class: Zensana::Command::Group
- Inherits:
-
Zensana::Command
- Object
- Thor
- Zensana::Command
- Zensana::Command::Group
- Defined in:
- lib/zensana/commands/group.rb
Instance Method Summary collapse
Instance Method Details
#find(name) ⇒ Object
5 6 7 |
# File 'lib/zensana/commands/group.rb', line 5 def find(name) puts Zensana::Zendesk::Group.search(name).collect { |p| "#{p['id']}: #{p['name']}" }.sort end |