Class: GoogleCheckout::ApiError
- Inherits:
-
Notification
- Object
- Notification
- GoogleCheckout::ApiError
- Defined in:
- lib/google-checkout/notification.rb
Instance Attribute Summary collapse
-
#error_message ⇒ Object
(also: #message)
readonly
Returns the value of attribute error_message.
Instance Method Summary collapse
- #error? ⇒ Boolean
-
#initialize(message = '') ⇒ ApiError
constructor
A new instance of ApiError.
Methods inherited from Notification
#acknowledgment_xml, #doc, #method_missing, parse, #serial_number, #state
Constructor Details
#initialize(message = '') ⇒ ApiError
Returns a new instance of ApiError.
370 371 372 |
# File 'lib/google-checkout/notification.rb', line 370 def initialize(='') @error_message = end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GoogleCheckout::Notification
Instance Attribute Details
#error_message ⇒ Object (readonly) Also known as: message
Returns the value of attribute error_message.
368 369 370 |
# File 'lib/google-checkout/notification.rb', line 368 def @error_message end |
Instance Method Details
#error? ⇒ Boolean
374 375 376 |
# File 'lib/google-checkout/notification.rb', line 374 def error? true end |