Sha256: d035572e87741242249dffdb86e63cd20d95494ede15b8571cf2de26adefa11a
Contents?: true
Size: 988 Bytes
Versions: 23
Compression:
Stored size: 988 Bytes
Contents
# OryHydraClient::SubmitSelfServiceRegistrationFlow ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'ory-kratos-client' OryHydraClient::SubmitSelfServiceRegistrationFlow.openapi_one_of # => # [ # :'SubmitSelfServiceRegistrationFlowWithPasswordMethod' # ] ``` ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'ory-kratos-client' OryHydraClient::SubmitSelfServiceRegistrationFlow.build(data) # => #<SubmitSelfServiceRegistrationFlowWithPasswordMethod:0x00007fdd4aab02a0> OryHydraClient::SubmitSelfServiceRegistrationFlow.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `SubmitSelfServiceRegistrationFlowWithPasswordMethod` - `nil` (if no type matches)
Version data entries
23 entries across 23 versions & 1 rubygems