Method: Fog::DNS::Linode::Real#initialize
- Defined in:
- lib/fog/linode/dns.rb
#initialize(options = {}) ⇒ Real
Returns a new instance of Real.
50 51 52 53 54 55 56 57 58 |
# File 'lib/fog/linode/dns.rb', line 50 def initialize(={}) @connection_options = [:connection_options] || {} @host = [:host] || "api.linode.com" @linode_api_key = [:linode_api_key] @persistent = [:persistent] || false @port = [:port] || 443 @scheme = [:scheme] || 'https' @connection = Fog::XML::Connection.new("#{@scheme}://#{@host}:#{@port}", @persistent, @connection_options) end |