Class: SmsRu::StoplistEntry

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

Overview

One stoplist entry returned by SmsRu::Stoplist#list.

Instance Attribute Summary collapse

Instance Attribute Details

#noteString (readonly)

Returns the note you stored with the number.

Returns:

  • (String)

    the note you stored with the number



261
262
# File 'lib/sms_ru/data.rb', line 261

class StoplistEntry < Data.define(:phone, :note)
end

#phoneString (readonly)

Returns the stoplisted phone number.

Returns:

  • (String)

    the stoplisted phone number



261
262
# File 'lib/sms_ru/data.rb', line 261

class StoplistEntry < Data.define(:phone, :note)
end