Sha256: 4c51a30e6e3aaa81ee031f41cae154bbb41f4e9a8f56422891ac615a8e0addd2

Contents?: true

Size: 174 Bytes

Versions: 10

Compression:

Stored size: 174 Bytes

Contents

module NightcrawlerSwift::CLI
  class UrlFor < NightcrawlerSwift::Command

    def execute path
      "#{connection.public_url}/#{options.bucket}/#{path}"
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nightcrawler_swift-1.0.0 lib/nightcrawler_swift/cli/commands/url_for.rb
nightcrawler_swift-0.11.1 lib/nightcrawler_swift/cli/commands/url_for.rb
nightcrawler_swift-0.11.0 lib/nightcrawler_swift/cli/commands/url_for.rb
nightcrawler_swift-0.10.0 lib/nightcrawler_swift/cli/commands/url_for.rb
nightcrawler_swift-0.9.0 lib/nightcrawler_swift/cli/commands/url_for.rb
nightcrawler_swift-0.8.1 lib/nightcrawler_swift/cli/commands/url_for.rb
nightcrawler_swift-0.8.0 lib/nightcrawler_swift/cli/commands/url_for.rb
nightcrawler_swift-0.7.0 lib/nightcrawler_swift/cli/commands/url_for.rb
nightcrawler_swift-0.6.0 lib/nightcrawler_swift/cli/commands/url_for.rb
nightcrawler_swift-0.5.0 lib/nightcrawler_swift/cli/commands/url_for.rb