class AkamaiCloudletManager::Base
Public Class Methods
new(options = {})
click to toggle source
# File lib/akamai_cloudlet_manager/base.rb, line 8 def initialize(options = {}) path_to_edgerc = options[:path_to_edgerc] || '~/.edgerc' section = options[:section] || 'default' @http_host = Akamai::Edgegrid::HTTP.new(get_host(path_to_edgerc, section), 443) @base_uri = URI('https://' + @http_host.host) @http_host.setup_from_edgerc({ section: 'default' }) end