Module | Moped::ReadPreference::Selectable |
In: |
lib/moped/read_preference/selectable.rb
|
Provides the shared behaviour for read preferences that can filter by a tag set or add query options.
@since 2.0.0
tags | [R] |
@!attribute tags
@return [ Array<Hash> ] The tag sets. |
Instantiate the new taggable read preference.
@example Instantiate the taggable.
Moped::ReadPreference::Secondary.new({ east_coast: 1 })
@param [ Array<Hash> ] tags The tag sets.
@since 2.0.0