Class: As2::Parser::DispositionNotificationOptions::Result Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/as2/parser/disposition_notification_options.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



10
11
12
# File 'lib/as2/parser/disposition_notification_options.rb', line 10

def attributes
  @attributes
end

#rawObject

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



10
11
12
# File 'lib/as2/parser/disposition_notification_options.rb', line 10

def raw
  @raw
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



10
11
12
# File 'lib/as2/parser/disposition_notification_options.rb', line 10

def value
  @value
end

Instance Method Details

#[](key) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



11
12
13
14
# File 'lib/as2/parser/disposition_notification_options.rb', line 11

def [](key)
  normalized = As2::Parser::DispositionNotificationOptions.normalize_key(key)
  attributes[normalized]
end

#to_sObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



16
17
18
# File 'lib/as2/parser/disposition_notification_options.rb', line 16

def to_s
  raw.to_s
end