class ValidatorsTest

Public Instance Methods

test_validators_get() click to toggle source
# File lib/ost-kyc-sdk-ruby/test/validators_test.rb, line 12
def test_validators_get
  result = validators_obj.verify_ethereum_address(ethereum_address: "0x7f2ED21D1702057C7d9f163cB7e5458FA2B6B7c4")
  assert_equal(result.success?, true )
end
validators_obj() click to toggle source
# File lib/ost-kyc-sdk-ruby/test/validators_test.rb, line 8
def validators_obj
  @validators_obj ||= Config::OST_SDK.services.validators
end