Class: Aerospike::CDT::ListPolicy
- Inherits:
-
Object
- Object
- Aerospike::CDT::ListPolicy
- Defined in:
- lib/aerospike/cdt/list_policy.rb
Constant Summary collapse
- DEFAULT =
ListPolicy.new
Instance Attribute Summary collapse
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#order ⇒ Object
Returns the value of attribute order.
Instance Method Summary collapse
-
#initialize(order: ListOrder::DEFAULT, write_flags: ListWriteFlags::DEFAULT) ⇒ ListPolicy
constructor
A new instance of ListPolicy.
Constructor Details
#initialize(order: ListOrder::DEFAULT, write_flags: ListWriteFlags::DEFAULT) ⇒ ListPolicy
Returns a new instance of ListPolicy.
26 27 28 29 |
# File 'lib/aerospike/cdt/list_policy.rb', line 26 def initialize(order: ListOrder::DEFAULT, write_flags: ListWriteFlags::DEFAULT) @order = order @flags = write_flags end |
Instance Attribute Details
#flags ⇒ Object
Returns the value of attribute flags.
24 25 26 |
# File 'lib/aerospike/cdt/list_policy.rb', line 24 def flags @flags end |
#order ⇒ Object
Returns the value of attribute order.
24 25 26 |
# File 'lib/aerospike/cdt/list_policy.rb', line 24 def order @order end |