Module: StrawberryAPI::Client::CustomMetadataFields
- Included in:
- StrawberryAPI::Client
- Defined in:
- lib/strawberry_api/client/custom_metadata_fields.rb
Instance Method Summary collapse
-
#custom_metadata_fields ⇒ Array<StrawberryAPI::CustomMetadataField>
Fetches all custom metadata fields.
Instance Method Details
#custom_metadata_fields ⇒ Array<StrawberryAPI::CustomMetadataField>
Fetches all custom metadata fields
10 11 12 13 14 |
# File 'lib/strawberry_api/client/custom_metadata_fields.rb', line 10 def get("/custom_metadata_fields").parse['array']&.map do |field| CustomMetadataField.new(field) end end |