Class: RubyAuthMetamask::MySignature

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/ruby_auth_metamask/users_controller.rb

Overview

a simple wrapper to carry the v value of signture

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sig_obj, v_value) ⇒ MySignature

Returns a new instance of MySignature.



9
10
11
12
# File 'app/controllers/ruby_auth_metamask/users_controller.rb', line 9

def initialize(sig_obj, v_value)
  @sig_obj = sig_obj
  @v = v_value
end

Instance Attribute Details

#sig_objObject (readonly)

Returns the value of attribute sig_obj.



7
8
9
# File 'app/controllers/ruby_auth_metamask/users_controller.rb', line 7

def sig_obj
  @sig_obj
end

#vObject (readonly)

Returns the value of attribute v.



7
8
9
# File 'app/controllers/ruby_auth_metamask/users_controller.rb', line 7

def v
  @v
end