class Periskop::Client::Payload

Payload represents the aggregated structure of errors

Public Class Methods

new(aggregated_errors, target_uuid) click to toggle source
# File lib/periskop/client/models.rb, line 164
def initialize(aggregated_errors, target_uuid)
  @aggregated_errors = aggregated_errors
  @target_uuid = target_uuid
end

Public Instance Methods

as_json(_options = {}) click to toggle source
# File lib/periskop/client/models.rb, line 169
def as_json(_options = {})
  {
    aggregated_errors: @aggregated_errors,
    target_uuid: @target_uuid
  }
end
to_json(*options) click to toggle source
# File lib/periskop/client/models.rb, line 176
def to_json(*options)
  as_json(*options).to_json(*options)
end