Class: Idcf::Ilb::Resources::Sslalgorithm

Inherits:
Base
  • Object
show all
Defined in:
lib/idcf/ilb/resources/sslalgorithm.rb

Overview

Sslalgorithm resource class

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

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

#inspectObject

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

#refreshSslalgorithm

Refresh this sslalgorithm

Returns:



9
10
11
12
# File 'lib/idcf/ilb/resources/sslalgorithm.rb', line 9

def refresh
  self.attributes = client.get_sslalgorithm(id).body
  self
end