Exception: Bisques::MessageHasWrongMd5Error
- Defined in:
- lib/bisques.rb
Instance Attribute Summary collapse
-
#expected ⇒ Object
readonly
Returns the value of attribute expected.
-
#got ⇒ Object
readonly
Returns the value of attribute got.
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Instance Method Summary collapse
-
#initialize(msg, expected, got) ⇒ MessageHasWrongMd5Error
constructor
A new instance of MessageHasWrongMd5Error.
Constructor Details
#initialize(msg, expected, got) ⇒ MessageHasWrongMd5Error
Returns a new instance of MessageHasWrongMd5Error.
7 8 9 10 |
# File 'lib/bisques.rb', line 7 def initialize(msg, expected, got) @msg, @expected, @got = msg, expected, got super(msg) end |
Instance Attribute Details
#expected ⇒ Object (readonly)
Returns the value of attribute expected.
5 6 7 |
# File 'lib/bisques.rb', line 5 def expected @expected end |
#got ⇒ Object (readonly)
Returns the value of attribute got.
5 6 7 |
# File 'lib/bisques.rb', line 5 def got @got end |
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
5 6 7 |
# File 'lib/bisques.rb', line 5 def msg @msg end |