Class: CloudflareClient::Zone::Firewall::WAFPackage::Base
- Inherits:
-
CloudflareClient::Zone::Firewall::WAFPackage
- Object
- CloudflareClient
- CloudflareClient::Zone
- Base
- CloudflareClient::Zone::Firewall
- CloudflareClient::Zone::Firewall::WAFPackage
- CloudflareClient::Zone::Firewall::WAFPackage::Base
- Defined in:
- lib/cloudflare_client/zone/firewall/waf_package/base.rb
Constant Summary
Constants inherited from CloudflareClient::Zone::Firewall::WAFPackage
VALID_ACTION_MODES, VALID_ORDERS, VALID_SENSITIVITIES
Constants inherited from CloudflareClient::Zone
Constants inherited from CloudflareClient
API_BASE, POSSIBLE_API_SETTINGS, VALID_BUNDLE_METHODS, VALID_DIRECTIONS, VALID_MATCHES, VERSION
Instance Attribute Summary collapse
-
#package_id ⇒ Object
readonly
Returns the value of attribute package_id.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(args) ⇒ Base
constructor
A new instance of Base.
Methods inherited from CloudflareClient::Zone::Firewall::WAFPackage
Methods inherited from CloudflareClient::Zone
#create_zone, #delete_zone, #edit_zone, #purge_zone_cache, #update_zone_settings, #zone, #zone_activation_check, #zone_setting, #zone_settings, #zones
Constructor Details
#initialize(args) ⇒ Base
Returns a new instance of Base.
4 5 6 7 8 |
# File 'lib/cloudflare_client/zone/firewall/waf_package/base.rb', line 4 def initialize(args) @package_id = args.delete(:package_id) id_check('package_id', package_id) super(**args) end |
Instance Attribute Details
#package_id ⇒ Object (readonly)
Returns the value of attribute package_id.
2 3 4 |
# File 'lib/cloudflare_client/zone/firewall/waf_package/base.rb', line 2 def package_id @package_id end |