module StrawberryAPI::Client::CustomMetadataSets

Public Instance Methods

custom_metadata_sets() click to toggle source

Fetches all custom metadata sets

@return [Array<StrawberryAPI::CustomMetadataSet>] A list of custom metadata sets

# File lib/strawberry_api/client/custom_metadata_sets.rb, line 10
def custom_metadata_sets
  get("/custom_metadata_sets").parse['array']&.map do |set|
    CustomMetadataSet.new(set)
  end
end