Sha256: 1712eb6d9f714f5dab2a468f8198779d5090c1b0a9ea2af20c6f1b9bbe6458e7
Contents?: true
Size: 824 Bytes
Versions: 3
Compression:
Stored size: 824 Bytes
Contents
# Athenian::ProductFeatureParameters ## Class instance methods ### `openapi_one_of` Returns the list of classes defined in oneOf. #### Example ```ruby require 'athenian' Athenian::ProductFeatureParameters.openapi_one_of # => # [ # :'Float', # :'Object', # :'String' # ] ``` ### build Find the appropriate object from the `openapi_one_of` list and casts the data into it. #### Example ```ruby require 'athenian' Athenian::ProductFeatureParameters.build(data) # => #<Float:0x00007fdd4aab02a0> Athenian::ProductFeatureParameters.build(data_that_doesnt_match) # => nil ``` #### Parameters | Name | Type | Description | | ---- | ---- | ----------- | | **data** | **Mixed** | data to be matched against the list of oneOf items | #### Return type - `Float` - `Object` - `String` - `nil` (if no type matches)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
athenian-2.1.86 | docs/ProductFeatureParameters.md |
athenian-2.1.85 | docs/ProductFeatureParameters.md |
athenian-2.1.81 | docs/ProductFeatureParameters.md |