Sha256: 48808f1eb9b3e46588f7cd679cff68a4c003fe099f3ed11b1ce5e3b3bc37083f

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

require 'hobgoblin/client'

module Hobgoblin
  class CLI::Upload
    def initialize(source, remote_path, options)
      @source = source
      @remote_path = remote_path
      @options = options
    end

    def run
      client = Hobgoblin::Client.new(@options)
      client.upload(@source, @remote_path)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hobgoblin-0.1.0 lib/hobgoblin/cli/upload.rb