class LHC::Response::Data::Collection
def initialize(response, data: nil)
def initialize(response, data: nil) @response = response @data = data super( as_json.map do |i| LHC::Response::Data.new(response, data: i) end ) end
def initialize(response, data: nil) @response = response @data = data super( as_json.map do |i| LHC::Response::Data.new(response, data: i) end ) end