Class: Enklawa::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/enklawa/cli.rb

Instance Method Summary collapse

Instance Method Details

#consoleObject



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