Class: Spendee::Clients::VerifyIdentity

Inherits:
ApiStruct::Client
  • Object
show all
Defined in:
lib/spendee/clients/verify_identity.rb

Instance Method Summary collapse

Instance Method Details

#create(email:, password:, key:) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/spendee/clients/verify_identity.rb', line 6

def create(email:, password:, key:)
  post(
    params: { key: key },
    body: {
      email: email,
      password: password,
      returnSecureToken: true
    }.to_json
  )
end