Class/Module Index [+]

Quicksearch

Fog::RiakCS::Utils

Public Instance Methods

configure_uri_options(options = {}) click to toggle source
# File lib/fog/riakcs.rb, line 104
def configure_uri_options(options = {})
  @host       = options[:host]       || 'localhost'
  @persistent = options[:persistent] || true
  @port       = options[:port]       || 8080
  @scheme     = options[:scheme]     || 'http'
end
riakcs_uri() click to toggle source
# File lib/fog/riakcs.rb, line 111
def riakcs_uri
  "#{@scheme}://#{@host}:#{@port}"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.