Method: Imperium::KVGETResponse#found_objects
- Defined in:
- lib/imperium/kv_get_response.rb
#found_objects ⇒ nil, Array<KVPair>
Construct an Array of KV pairs from a response, including their full metadata.
30 31 32 33 34 |
# File 'lib/imperium/kv_get_response.rb', line 30 def found_objects return if .key?(:keys) return [] if not_found? @found_objects ||= parsed_body.map { |attrs| KVPair.new(attrs) } end |