Class: Enklawa::Cli
- Inherits:
-
Thor
- Object
- Thor
- Enklawa::Cli
- Defined in:
- lib/enklawa/cli.rb
Instance Method Summary collapse
Instance Method Details
#console ⇒ Object
7 8 9 10 |
# File 'lib/enklawa/cli.rb', line 7 def console @response = Enklawa::Api.fetch binding.pry end |
#save(url, path) ⇒ Object
13 14 15 16 |
# File 'lib/enklawa/cli.rb', line 13 def save(url, path) @response = Enklawa::Api.fetch(url) @response.save(path) end |