Exception: Bisques::MessageHasWrongMd5Error

Inherits:
Error
  • Object
show all
Defined in:
lib/bisques.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#expectedObject (readonly)

Returns the value of attribute expected.



5
6
7
# File 'lib/bisques.rb', line 5

def expected
  @expected
end

#gotObject (readonly)

Returns the value of attribute got.



5
6
7
# File 'lib/bisques.rb', line 5

def got
  @got
end

#msgObject (readonly)

Returns the value of attribute msg.



5
6
7
# File 'lib/bisques.rb', line 5

def msg
  @msg
end