Class: Latitude::API::Resources::Firewall::Assignment
- Inherits:
-
APIResource
- Object
- APIResource
- Latitude::API::Resources::Firewall::Assignment
- Extended by:
- Operations::Create, Operations::Delete, Operations::List
- Defined in:
- lib/latitude/api/resources/firewall.rb
Overview
@return [String]
Defined Under Namespace
Constant Summary
Constants inherited from APIResource
APIResource::READ_ONLY_ATTRIBUTES
Instance Attribute Summary collapse
- #hostname ⇒ Object readonly
- #id ⇒ Object readonly
- #name ⇒ Object readonly
- #primary_ipv4 ⇒ Object readonly
Attributes inherited from APIResource
#meta, #path_params, #raw_data, #type
Class Method Summary collapse
Methods included from Operations::List
Methods included from Operations::Create
Methods included from Operations::Delete
Methods inherited from APIResource
#==, #[], #[]=, #as_json, #attributes, #changed?, class_url, config_source, construct_from, #delete, execute_request, extract_path_params, #hash, id_prefix, #initialize, #inspect, instance_url, #method_missing, path_param_keys, #refresh, resource_path, resource_type, #resource_url, #respond_to_missing?, #save, #to_h, #unsaved_attributes, with_config, #write_attribute
Methods included from Attributes::ClassMethods
Methods included from Attributes::InstanceMethods
#attribute_spec, #read_attribute, #wrap_attribute
Constructor Details
This class inherits a constructor from Latitude::API::APIResource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Latitude::API::APIResource
Instance Attribute Details
#hostname ⇒ Object (readonly)
|
|
# File 'lib/latitude/api/resources/firewall.rb', line 69
|
#id ⇒ Object (readonly)
|
|
# File 'lib/latitude/api/resources/firewall.rb', line 65
|
#name ⇒ Object (readonly)
|
|
# File 'lib/latitude/api/resources/firewall.rb', line 92
|
#primary_ipv4 ⇒ Object (readonly)
|
|
# File 'lib/latitude/api/resources/firewall.rb', line 73
|
Class Method Details
.list_all(params = {}, opts = {}) ⇒ Object
119 120 121 122 123 |
# File 'lib/latitude/api/resources/firewall.rb', line 119 def list_all(params = {}, opts = {}) query = RequestParams.encode(params) parsed = execute_request(method: :get, path: "/firewalls/assignments", query: query, opts: opts) ListObject.new(resource_class: self, parsed: parsed, request_params: params, request_opts: opts) end |