Class: NATS::KeyValue::API::KeyValueConfig
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb
Instance Attribute Summary collapse
-
#bucket ⇒ Object
Returns the value of attribute bucket.
-
#description ⇒ Object
Returns the value of attribute description.
-
#direct ⇒ Object
Returns the value of attribute direct.
-
#history ⇒ Object
Returns the value of attribute history.
-
#max_bytes ⇒ Object
Returns the value of attribute max_bytes.
-
#max_value_size ⇒ Object
Returns the value of attribute max_value_size.
-
#placement ⇒ Object
Returns the value of attribute placement.
-
#replicas ⇒ Object
Returns the value of attribute replicas.
-
#republish ⇒ Object
Returns the value of attribute republish.
-
#storage ⇒ Object
Returns the value of attribute storage.
-
#ttl ⇒ Object
Returns the value of attribute ttl.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ KeyValueConfig
constructor
A new instance of KeyValueConfig.
Methods inherited from Struct
Constructor Details
#initialize(opts = {}) ⇒ KeyValueConfig
Returns a new instance of KeyValueConfig.
31 32 33 34 35 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 31 def initialize(opts={}) rem = opts.keys - members opts.delete_if { |k| rem.include?(k) } super(opts) end |
Instance Attribute Details
#bucket ⇒ Object
Returns the value of attribute bucket
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def bucket @bucket end |
#description ⇒ Object
Returns the value of attribute description
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def description @description end |
#direct ⇒ Object
Returns the value of attribute direct
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def direct @direct end |
#history ⇒ Object
Returns the value of attribute history
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def history @history end |
#max_bytes ⇒ Object
Returns the value of attribute max_bytes
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def max_bytes @max_bytes end |
#max_value_size ⇒ Object
Returns the value of attribute max_value_size
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def max_value_size @max_value_size end |
#placement ⇒ Object
Returns the value of attribute placement
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def placement @placement end |
#replicas ⇒ Object
Returns the value of attribute replicas
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def replicas @replicas end |
#republish ⇒ Object
Returns the value of attribute republish
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def republish @republish end |
#storage ⇒ Object
Returns the value of attribute storage
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def storage @storage end |
#ttl ⇒ Object
Returns the value of attribute ttl
18 19 20 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/nats-pure-2.2.1/lib/nats/io/kv/api.rb', line 18 def ttl @ttl end |