Class: Paypal::Permissions::FaultMessage::ErrorInformation
- Inherits:
-
Object
- Object
- Paypal::Permissions::FaultMessage::ErrorInformation
- Defined in:
- lib/paypal/permissions/fault_message.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#error_id ⇒ Object
Returns the value of attribute error_id.
-
#message ⇒ Object
Returns the value of attribute message.
-
#parameter ⇒ Object
Returns the value of attribute parameter.
-
#severity ⇒ Object
Returns the value of attribute severity.
-
#subdomain ⇒ Object
Returns the value of attribute subdomain.
Instance Method Summary collapse
-
#initialize(options = {}, error_number = 0) ⇒ ErrorInformation
constructor
A new instance of ErrorInformation.
Constructor Details
#initialize(options = {}, error_number = 0) ⇒ ErrorInformation
Returns a new instance of ErrorInformation.
25 26 27 28 29 30 31 32 33 |
# File 'lib/paypal/permissions/fault_message.rb', line 25 def initialize( = {}, error_number = 0) @category = ["error(#{error_number}).category"] @domain = ["error(#{error_number}).domain"] @subdomain = ["error(#{error_number}).subdomain"] @error_id = ["error(#{error_number}).errorId"] @message = ["error(#{error_number}).message"] @parameter = ["error(#{error_number}).parameter"] @severity = ["error(#{error_number}).severity"] end |
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category.
23 24 25 |
# File 'lib/paypal/permissions/fault_message.rb', line 23 def category @category end |
#domain ⇒ Object
Returns the value of attribute domain.
23 24 25 |
# File 'lib/paypal/permissions/fault_message.rb', line 23 def domain @domain end |
#error_id ⇒ Object
Returns the value of attribute error_id.
23 24 25 |
# File 'lib/paypal/permissions/fault_message.rb', line 23 def error_id @error_id end |
#message ⇒ Object
Returns the value of attribute message.
23 24 25 |
# File 'lib/paypal/permissions/fault_message.rb', line 23 def @message end |
#parameter ⇒ Object
Returns the value of attribute parameter.
23 24 25 |
# File 'lib/paypal/permissions/fault_message.rb', line 23 def parameter @parameter end |
#severity ⇒ Object
Returns the value of attribute severity.
23 24 25 |
# File 'lib/paypal/permissions/fault_message.rb', line 23 def severity @severity end |
#subdomain ⇒ Object
Returns the value of attribute subdomain.
23 24 25 |
# File 'lib/paypal/permissions/fault_message.rb', line 23 def subdomain @subdomain end |