Class: Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Routing::Method

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/network/application/delivery/controller/load_balancer/routing/method.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Application_Delivery_Controller_LoadBalancer_Routing_Method'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#idObject

Returns the value of attribute id.



10
11
12
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/routing/method.rb', line 10

def id
  @id
end

#keynameObject

Returns the value of attribute keyname.



11
12
13
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/routing/method.rb', line 11

def keyname
  @keyname
end

#nameObject

Returns the value of attribute name.



12
13
14
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/routing/method.rb', line 12

def name
  @name
end

Class Method Details

.get_all_objectsObject



14
15
16
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/routing/method.rb', line 14

def self.get_all_objects
  request(:get_all_objects, Array[Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Routing::Method])
end

Instance Method Details

#get_objectObject



18
19
20
# File 'lib/softlayer/network/application/delivery/controller/load_balancer/routing/method.rb', line 18

def get_object
  request(:get_object, Softlayer::Network::Application::Delivery::Controller::LoadBalancer::Routing::Method)
end