Class: FedexWebServices::Soap::Rate::Notification

Inherits:
Object
  • Object
show all
Defined in:
lib/fedex_web_services/soap/RateServiceDefinitions.rb

Overview

http://fedex.com/ws/rate/v13Notification

severity - FedexWebServices::Soap::Rate::NotificationSeverityType
source - SOAP::SOAPString
code - SOAP::SOAPString
message - SOAP::SOAPString
localizedMessage - SOAP::SOAPString
messageParameters - FedexWebServices::Soap::Rate::NotificationParameter

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(severity = nil, source = nil, code = nil, message = nil, localizedMessage = nil, messageParameters = []) ⇒ Notification

Returns a new instance of Notification.



1744
1745
1746
1747
1748
1749
1750
1751
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1744

def initialize(severity = nil, source = nil, code = nil, message = nil, localizedMessage = nil, messageParameters = [])
  @severity = severity
  @source = source
  @code = code
  @message = message
  @localizedMessage = localizedMessage
  @messageParameters = messageParameters
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



1739
1740
1741
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1739

def code
  @code
end

#localizedMessageObject

Returns the value of attribute localizedMessage.



1741
1742
1743
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1741

def localizedMessage
  @localizedMessage
end

#messageObject

Returns the value of attribute message.



1740
1741
1742
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1740

def message
  @message
end

#messageParametersObject

Returns the value of attribute messageParameters.



1742
1743
1744
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1742

def messageParameters
  @messageParameters
end

#severityObject

Returns the value of attribute severity.



1737
1738
1739
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1737

def severity
  @severity
end

#sourceObject

Returns the value of attribute source.



1738
1739
1740
# File 'lib/fedex_web_services/soap/RateServiceDefinitions.rb', line 1738

def source
  @source
end