Exception: Akabei::Signer::InvalidSignature

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fromObject (readonly)

Returns the value of attribute from.



31
32
33
# File 'lib/akabei/signer.rb', line 31

def from
  @from
end

#pathObject (readonly)

Returns the value of attribute path.



31
32
33
# File 'lib/akabei/signer.rb', line 31

def path
  @path
end