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