Class: Straycall::Policy::Network::Rule

Inherits:
Struct
  • Object
show all
Defined in:
lib/straycall/policy/network.rb

Instance Attribute Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address

Returns:

  • (Object)

    the current value of address



9
10
11
# File 'lib/straycall/policy/network.rb', line 9

def address
  @address
end

#portsObject

Returns the value of attribute ports

Returns:

  • (Object)

    the current value of ports



9
10
11
# File 'lib/straycall/policy/network.rb', line 9

def ports
  @ports
end