Class: Cloudflare::KV::Value
- Inherits:
-
Object
- Object
- Cloudflare::KV::Value
- Includes:
- Async::REST::Representation::Mutable
- Defined in:
- lib/cloudflare/kv/namespaces.rb
Instance Method Summary collapse
Instance Method Details
#put(value) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/cloudflare/kv/namespaces.rb', line 23 def put(value) self.class.put(@resource, value) do |resource, response| value = response.read return value[:success] end end |