Class: CloudflareClient::Namespace
- Inherits:
-
CloudflareClient
- Object
- CloudflareClient
- CloudflareClient::Namespace
- Defined in:
- lib/cloudflare_client/namespace.rb
Direct Known Subclasses
Constant Summary
Constants inherited from CloudflareClient
API_BASE, POSSIBLE_API_SETTINGS, VALID_BUNDLE_METHODS, VALID_DIRECTIONS, VALID_MATCHES, VERSION
Instance Attribute Summary collapse
-
#account_id ⇒ Object
readonly
Returns the value of attribute account_id.
Instance Method Summary collapse
-
#initialize(args) ⇒ Namespace
constructor
A new instance of Namespace.
Constructor Details
#initialize(args) ⇒ Namespace
Returns a new instance of Namespace.
6 7 8 9 10 |
# File 'lib/cloudflare_client/namespace.rb', line 6 def initialize(args) @account_id = args.delete(:account_id) id_check(:account_id, account_id) super(**args) end |
Instance Attribute Details
#account_id ⇒ Object (readonly)
Returns the value of attribute account_id.
4 5 6 |
# File 'lib/cloudflare_client/namespace.rb', line 4 def account_id @account_id end |