Sha256: 9635a4269101c49ba7c7a774695a2899c992c55c975f6f0a1448956d72eaa2d5

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

require 'lhj/helper/oss_helper'

module Lhj
  class Command
    class OSS < Command
      class List < OSS
        def run
          objects = Lhj::OSS::Helper.instance.list
          objects.each do |o|
            path = "#{Lhj::OSS::Helper.instance.url_path}/#{o.key}"
            puts path
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lhj-tools-0.1.2 lib/lhj/command/oss/list.rb