Class: Shiro::Prompt
- Inherits:
-
Object
- Object
- Shiro::Prompt
- Defined in:
- lib/shiro/prompt.rb
Class Method Summary collapse
Class Method Details
.list ⇒ Object
3 4 5 |
# File 'lib/shiro/prompt.rb', line 3 def self.list client.get("/prompts").parsed_response end |
.retrieve(id) ⇒ Object
7 8 9 |
# File 'lib/shiro/prompt.rb', line 7 def self.retrieve(id) client.get("/prompts/#{id}").parsed_response end |