module StrawberryAPI::Client::CustomMetadataOptions
Public Instance Methods
custom_metadata_options()
click to toggle source
Fetches all custom metadata options
@return [Array<StrawberryAPI::CustomMetadataOption>] A list of custom metadata options
# File lib/strawberry_api/client/custom_metadata_options.rb, line 10 def custom_metadata_options get("/select_field_options").parse['selectfieldoption::activerecord_relation']&.map do |option| CustomMetadataOption.new(option) end end