Class: Wajub::IdentityResource

Inherits:
BaseClient show all
Defined in:
lib/wajub/resources.rb

Instance Attribute Summary

Attributes inherited from BaseClient

#api_key, #base_url, #idempotency_key_prefix, #last_request, #transport

Instance Method Summary collapse

Methods inherited from BaseClient

#delete, #get, #initialize, #post, #put, #request

Constructor Details

This class inherits a constructor from Wajub::BaseClient

Instance Method Details

#resolve(params, options = nil) ⇒ Object



231
232
233
# File 'lib/wajub/resources.rb', line 231

def resolve(params, options = nil)
  HttpUtils.pick_resource(post('/identity/resolve', params, options), 'identity')
end

#validate(params, options = nil) ⇒ Object



235
236
237
# File 'lib/wajub/resources.rb', line 235

def validate(params, options = nil)
  HttpUtils.pick_resource(post('/identity/validate', params, options), 'identity')
end