Class: Idcf::Ilb::Resources::Fwgroup

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

Overview

Fwgroup resource class

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

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

#refreshFwgroup

Refresh this fwgroup

Returns:



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

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