Sha256: 12a6b6eb761ac7d81422280eff8ef0c4ccaa8fcd1cc4b883bc2bdefe0ca9daf6

Contents?: true

Size: 206 Bytes

Versions: 4

Compression:

Stored size: 206 Bytes

Contents

class UrlGenerator
  SITE = 'http://%s:%s@%s/api/v2/projects/%s'

  def self.generate
    config = ConfigService.get
    SITE % [config.username, config.password, config.hostname, config.project]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mingle_cli-0.0.4 lib/services/url_generator.rb
mingle_cli-0.0.3 lib/services/url_generator.rb
mingle_cli-0.0.2 lib/services/url_generator.rb
mingle_cli-0.0.1 lib/services/url_generator.rb