Sha256: 22fb6fb46b8820d901302c81c5e911df0e304b5233b76b74e4563b166612ea55
Contents?: true
Size: 176 Bytes
Versions: 2
Compression:
Stored size: 176 Bytes
Contents
module Thanos class ResponseHolder attr_reader :results def initialize(response) data = response.data @results = data['results'].first end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thanos-0.6.0 | lib/thanos/response_holder.rb |
thanos-0.5.0 | lib/thanos/response_holder.rb |