Class: Latitude::API::Resources::Firewall::Rule
- Inherits:
-
APIObject
- Object
- APIObject
- Latitude::API::Resources::Firewall::Rule
show all
- Defined in:
- lib/latitude/api/resources/firewall.rb
Constant Summary
Constants inherited
from APIObject
APIObject::RESERVED
Instance Attribute Summary collapse
Attributes inherited from APIObject
#raw
Method Summary
Methods inherited from APIObject
#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap
#attribute, #attribute_specs
#attribute_spec, #read_attribute, #wrap_attribute
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Latitude::API::APIObject
Instance Attribute Details
#default ⇒ Boolean
23
24
25
26
27
28
29
|
# File 'lib/latitude/api/resources/firewall.rb', line 23
class Rule < APIObject
attribute :from, :string, read_only: true
attribute :to, :string, read_only: true
attribute :port, :string, read_only: true
attribute :protocol, :string, read_only: true
attribute :default, :boolean, read_only: true
end
|
#from ⇒ String
23
24
25
26
27
28
29
|
# File 'lib/latitude/api/resources/firewall.rb', line 23
class Rule < APIObject
attribute :from, :string, read_only: true
attribute :to, :string, read_only: true
attribute :port, :string, read_only: true
attribute :protocol, :string, read_only: true
attribute :default, :boolean, read_only: true
end
|
#port ⇒ String
23
24
25
26
27
28
29
|
# File 'lib/latitude/api/resources/firewall.rb', line 23
class Rule < APIObject
attribute :from, :string, read_only: true
attribute :to, :string, read_only: true
attribute :port, :string, read_only: true
attribute :protocol, :string, read_only: true
attribute :default, :boolean, read_only: true
end
|
#protocol ⇒ String
23
24
25
26
27
28
29
|
# File 'lib/latitude/api/resources/firewall.rb', line 23
class Rule < APIObject
attribute :from, :string, read_only: true
attribute :to, :string, read_only: true
attribute :port, :string, read_only: true
attribute :protocol, :string, read_only: true
attribute :default, :boolean, read_only: true
end
|
#to ⇒ String
23
24
25
26
27
28
29
|
# File 'lib/latitude/api/resources/firewall.rb', line 23
class Rule < APIObject
attribute :from, :string, read_only: true
attribute :to, :string, read_only: true
attribute :port, :string, read_only: true
attribute :protocol, :string, read_only: true
attribute :default, :boolean, read_only: true
end
|