class NexusAPI::Download

Attributes

api[RW]

Public Instance Methods

docker() click to toggle source
# File lib/nexus_api/cli_commands/download.rb, line 10
def docker
  setup
  @api.download_docker_component(image: options[:image], tag: options[:docker_tag])
end
file() click to toggle source
# File lib/nexus_api/cli_commands/download.rb, line 18
def file
  setup
  @api.download(id: options[:nexus_id], name: options[:new_name])
end