Sha256: d37c2e8b4a9af317399753549293f1d1dc9b43710a32a6ac037a9701c8b7ef01

Contents?: true

Size: 303 Bytes

Versions: 9

Compression:

Stored size: 303 Bytes

Contents

require "uri"

class Hypernova::BatchUrlBuilder
  def self.base_url
    configuration = Hypernova.configuration
    builder = configuration.scheme == :https ? URI::HTTPS : URI::HTTP
    builder.build(host: configuration.host, port: configuration.port).to_s
  end

  def self.path
    "/batch"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hypernova-2.0.0 lib/hypernova/batch_url_builder.rb
hypernova-1.4.0 lib/hypernova/batch_url_builder.rb
hypernova-1.3.0 lib/hypernova/batch_url_builder.rb
hypernova-1.2.0 lib/hypernova/batch_url_builder.rb
hypernova-1.1.0 lib/hypernova/batch_url_builder.rb
hypernova-1.0.3 lib/hypernova/batch_url_builder.rb
hypernova-1.0.2 lib/hypernova/batch_url_builder.rb
hypernova-1.0.1 lib/hypernova/batch_url_builder.rb
hypernova-1.0.0 lib/hypernova/batch_url_builder.rb