Class: Idcf::Ilb::Resources::Loadbalancer
- Defined in:
- lib/idcf/ilb/resources/loadbalancer.rb
Overview
Loadbalancer resource class
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#refresh ⇒ Loadbalancer
Refresh this loadbalancer.
Methods inherited from Base
class_name, generate_readers, inherited, #initialize, #inspect, validator_class
Constructor Details
This class inherits a constructor from Idcf::Ilb::Resources::Base
Instance Method Details
#refresh ⇒ Loadbalancer
Refresh this loadbalancer
9 10 11 12 |
# File 'lib/idcf/ilb/resources/loadbalancer.rb', line 9 def refresh self.attributes = client.get_loadbalancer(id).body self end |