Module: Fog::Linode

Extended by:
Provider
Defined in:
lib/fog/dns/linode.rb,
lib/fog/compute/linode.rb,
lib/fog/providers/linode.rb,
lib/fog/dns/models/linode/zone.rb,
lib/fog/dns/models/linode/zones.rb,
lib/fog/dns/models/linode/record.rb,
lib/fog/dns/models/linode/records.rb,
lib/fog/dns/requests/linode/domain_list.rb,
lib/fog/dns/requests/linode/domain_create.rb,
lib/fog/dns/requests/linode/domain_delete.rb,
lib/fog/dns/requests/linode/domain_update.rb,
lib/fog/compute/requests/linode/linode_list.rb,
lib/fog/compute/requests/linode/avail_kernels.rb,
lib/fog/compute/requests/linode/linode_create.rb,
lib/fog/compute/requests/linode/linode_delete.rb,
lib/fog/compute/requests/linode/linode_reboot.rb,
lib/fog/dns/requests/linode/domain_resource_list.rb,
lib/fog/compute/requests/linode/avail_datacenters.rb,
lib/fog/compute/requests/linode/avail_linodeplans.rb,
lib/fog/compute/requests/linode/avail_stackscripts.rb,
lib/fog/dns/requests/linode/domain_resource_create.rb,
lib/fog/dns/requests/linode/domain_resource_delete.rb,
lib/fog/dns/requests/linode/domain_resource_update.rb,
lib/fog/compute/requests/linode/avail_distributions.rb

Defined Under Namespace

Classes: Compute, DNS

Class Method Summary collapse

Methods included from Provider

service, services

Class Method Details

.new(attributes = {}) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/fog/providers/linode.rb', line 11

def self.new(attributes = {})
  location = caller.first
  warning = "[yellow][WARN] Fog::Linode#new is deprecated, use Fog::Linode::Compute#new instead[/]"
  warning << " [light_black](" << location << ")[/] "
  Formatador.display_line(warning)
  Fog::Linode::Compute.new(attributes)
end