Class: Eth::Signature

Inherits:
Object
  • Object
show all
Defined in:
lib/eth/signature.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Signature

Returns a new instance of Signature.



42
43
44
# File 'lib/eth/signature.rb', line 42

def initialize(message)
  @message = message
end

Instance Attribute Details

#hashObject

Returns the value of attribute hash.



32
33
34
# File 'lib/eth/signature.rb', line 32

def hash
  @hash
end

#messageObject

Returns the value of attribute message.



32
33
34
# File 'lib/eth/signature.rb', line 32

def message
  @message
end

#prefixed_messageObject

Returns the value of attribute prefixed_message.



32
33
34
# File 'lib/eth/signature.rb', line 32

def prefixed_message
  @prefixed_message
end

#rObject

Returns the value of attribute r.



32
33
34
# File 'lib/eth/signature.rb', line 32

def r
  @r
end

#rpc_signatureObject

Returns the value of attribute rpc_signature.



32
33
34
# File 'lib/eth/signature.rb', line 32

def rpc_signature
  @rpc_signature
end

#sObject

Returns the value of attribute s.



32
33
34
# File 'lib/eth/signature.rb', line 32

def s
  @s
end

#signatureObject

Returns the value of attribute signature.



32
33
34
# File 'lib/eth/signature.rb', line 32

def signature
  @signature
end

#signerObject

Returns the value of attribute signer.



32
33
34
# File 'lib/eth/signature.rb', line 32

def signer
  @signer
end

#vObject

Returns the value of attribute v.



32
33
34
# File 'lib/eth/signature.rb', line 32

def v
  @v
end