class ConnectClient::EventDataValidationError

Attributes

invalid_property_names[R]

Public Class Methods

new(invalid_property_names) click to toggle source
# File lib/connect_client/event.rb, line 62
def initialize(invalid_property_names)
  @invalid_property_names = invalid_property_names
end

Public Instance Methods

message() click to toggle source
# File lib/connect_client/event.rb, line 66
def message
  messages = ['The following properties use the reserved prefix tp_:'] + @invalid_property_names.map do |property_name|
    "->#{property_name}"
  end
  messages.join "\n"
end