Sha256: 7efb0965928b3e83bab49905d50bc81dafce68c1949b1710d8c1f6c3f6e98f3e
Contents?: true
Size: 974 Bytes
Versions: 15
Compression:
Stored size: 974 Bytes
Contents
# OryHydraClient::SubmitSelfServiceRegistrationFlow ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'ory-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-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
15 entries across 15 versions & 1 rubygems