Class: CloudflareClient::Namespace

Inherits:
CloudflareClient show all
Defined in:
lib/cloudflare_client/namespace.rb

Direct Known Subclasses

Value

Constant Summary

Constants inherited from CloudflareClient

API_BASE, POSSIBLE_API_SETTINGS, VALID_BUNDLE_METHODS, VALID_DIRECTIONS, VALID_MATCHES, VERSION

Instance Attribute Summary collapse

Instance Method Summary collapse

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, )
  super(**args)
end

Instance Attribute Details

#account_idObject (readonly)

Returns the value of attribute account_id.



4
5
6
# File 'lib/cloudflare_client/namespace.rb', line 4

def 
  @account_id
end