Class: Riak::Client::BeefcakeProtobuffsBackend::CrdtLoader::GrowOnlySetLoader Private
- Inherits:
-
Object
- Object
- Riak::Client::BeefcakeProtobuffsBackend::CrdtLoader::GrowOnlySetLoader
- Defined in:
- lib/riak/client/beefcake/crdt/grow_only_set_loader.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .for_value(resp) ⇒ Object private
Instance Method Summary collapse
-
#initialize(gset_value) ⇒ GrowOnlySetLoader
constructor
private
A new instance of GrowOnlySetLoader.
- #rubyfy ⇒ Object private
Constructor Details
#initialize(gset_value) ⇒ GrowOnlySetLoader
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of GrowOnlySetLoader.
23 24 25 |
# File 'lib/riak/client/beefcake/crdt/grow_only_set_loader.rb', line 23 def initialize(gset_value) @value = gset_value end |
Class Method Details
.for_value(resp) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
18 19 20 21 |
# File 'lib/riak/client/beefcake/crdt/grow_only_set_loader.rb', line 18 def self.for_value(resp) return nil unless resp.gset_value new resp.gset_value end |