Exception: Postnhost::Publishing::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Postnhost::Publishing::Error
- Defined in:
- app/services/postnhost/publishing/error.rb
Instance Attribute Summary collapse
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
Instance Method Summary collapse
-
#initialize(messages) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(messages) ⇒ Error
Returns a new instance of Error.
6 7 8 9 |
# File 'app/services/postnhost/publishing/error.rb', line 6 def initialize() @messages = Array() super(@messages.join(", ")) end |
Instance Attribute Details
#messages ⇒ Object (readonly)
Returns the value of attribute messages.
4 5 6 |
# File 'app/services/postnhost/publishing/error.rb', line 4 def @messages end |