Module: StrawberryAPI::Client::CustomMetadataOptions
- Included in:
- StrawberryAPI::Client
- Defined in:
- lib/strawberry_api/client/custom_metadata_options.rb
Instance Method Summary collapse
-
#custom_metadata_options ⇒ Array<StrawberryAPI::CustomMetadataOption>
Fetches all custom metadata options.
Instance Method Details
#custom_metadata_options ⇒ Array<StrawberryAPI::CustomMetadataOption>
Fetches all custom metadata options
10 11 12 13 14 |
# File 'lib/strawberry_api/client/custom_metadata_options.rb', line 10 def get("/select_field_options").parse['selectfieldoption::activerecord_relation']&.map do |option| CustomMetadataOption.new(option) end end |