Method: Fog::Compute::Linode::Real#initialize
- Defined in:
- lib/fog/linode/compute.rb
#initialize(options = {}) ⇒ Real
Returns a new instance of Real.
82 83 84 85 86 87 88 |
# File 'lib/fog/linode/compute.rb', line 82 def initialize(={}) @linode_api_key = [:linode_api_key] @host = [:host] || "api.linode.com" @port = [:port] || 443 @scheme = [:scheme] || 'https' @connection = Fog::Connection.new("#{@scheme}://#{@host}:#{@port}", [:persistent]) end |