Exception: Akabei::Signer::InvalidSignature
- Defined in:
- lib/akabei/signer.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, from) ⇒ InvalidSignature
constructor
A new instance of InvalidSignature.
Constructor Details
#initialize(path, from) ⇒ InvalidSignature
Returns a new instance of InvalidSignature.
32 33 34 35 36 |
# File 'lib/akabei/signer.rb', line 32 def initialize(path, from) @path = path @from = from super("Invalid signature from #{from}: #{path}") end |
Instance Attribute Details
#from ⇒ Object (readonly)
Returns the value of attribute from.
31 32 33 |
# File 'lib/akabei/signer.rb', line 31 def from @from end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
31 32 33 |
# File 'lib/akabei/signer.rb', line 31 def path @path end |