Class: Cloudflare::Account
- Inherits:
-
Representation
- Object
- Async::REST::Representation
- Representation
- Cloudflare::Account
- Defined in:
- lib/cloudflare/accounts.rb
Constant Summary
Constants inherited from Representation
Instance Method Summary collapse
Methods inherited from Representation
#errors, #messages, #represent, #represent_message, #representation, #result, #results, #success?, #to_hash, #to_id
Instance Method Details
#id ⇒ Object
13 14 15 |
# File 'lib/cloudflare/accounts.rb', line 13 def id result[:id] end |
#kv_namespaces ⇒ Object
17 18 19 |
# File 'lib/cloudflare/accounts.rb', line 17 def kv_namespaces self.with(KV::Namespaces, path: "storage/kv/namespaces") end |