Method: ProcessOut::NativeAPMRequest#fill_with_data

Defined in:
lib/processout/native_apm_request.rb

#fill_with_data(data) ⇒ Object

Fills the object with data coming from the API Params:

data

Hash of data coming from the API



61
62
63
64
65
66
67
68
69
70
# File 'lib/processout/native_apm_request.rb', line 61

def fill_with_data(data)
  if data.nil?
    return self
  end
  if data.include? "parameter_values"
    self.parameter_values = data["parameter_values"]
  end
  
  self
end