Class: Idcf::Ilb::Resources::Sslalgorithm
- Defined in:
- lib/idcf/ilb/resources/sslalgorithm.rb
Overview
Sslalgorithm resource class
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#inspect ⇒ Object
Inspect this class.
-
#refresh ⇒ Sslalgorithm
Refresh this sslalgorithm.
Methods inherited from Base
class_name, generate_readers, inherited, #initialize, validator_class
Constructor Details
This class inherits a constructor from Idcf::Ilb::Resources::Base
Instance Method Details
#inspect ⇒ Object
Inspect this class
15 16 17 |
# File 'lib/idcf/ilb/resources/sslalgorithm.rb', line 15 def inspect "#<#{self.class}:0x%014x @protocol=#{protocol} @cipher=#{cipher} @id=#{id}>" % [object_id] end |
#refresh ⇒ Sslalgorithm
Refresh this sslalgorithm
9 10 11 12 |
# File 'lib/idcf/ilb/resources/sslalgorithm.rb', line 9 def refresh self.attributes = client.get_sslalgorithm(id).body self end |