Class: SmsRu::Events::Unknown

Inherits:
Object
  • Object
show all
Defined in:
lib/sms_ru/events.rb

Overview

Any record type this gem does not model explicitly. ‘raw` keeps every line.

Instance Attribute Summary collapse

Instance Attribute Details

#rawArray<String> (readonly)

Returns every line of the original record.

Returns:

  • (Array<String>)

    every line of the original record



62
63
# File 'lib/sms_ru/events.rb', line 62

class Unknown < Data.define(:type, :raw)
end

#typeString (readonly)

Returns the wire record type.

Returns:

  • (String)

    the wire record type



62
63
# File 'lib/sms_ru/events.rb', line 62

class Unknown < Data.define(:type, :raw)
end