Class: RubyAuthMetamask::MySignature
- Inherits:
-
Object
- Object
- RubyAuthMetamask::MySignature
- 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
-
#sig_obj ⇒ Object
readonly
Returns the value of attribute sig_obj.
-
#v ⇒ Object
readonly
Returns the value of attribute v.
Instance Method Summary collapse
-
#initialize(sig_obj, v_value) ⇒ MySignature
constructor
A new instance of MySignature.
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_obj ⇒ Object (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 |
#v ⇒ Object (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 |