Class: Hypernova::BatchUrlBuilder
- Inherits:
-
Object
- Object
- Hypernova::BatchUrlBuilder
- Defined in:
- lib/hypernova/batch_url_builder.rb
Class Method Summary collapse
Class Method Details
.base_url ⇒ Object
4 5 6 7 8 |
# File 'lib/hypernova/batch_url_builder.rb', line 4 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 |
.path ⇒ Object
10 11 12 |
# File 'lib/hypernova/batch_url_builder.rb', line 10 def self.path "/batch" end |