Module: StrawberryAPI::Client::CustomMetadataSets

Included in:
StrawberryAPI::Client
Defined in:
lib/strawberry_api/client/custom_metadata_sets.rb

Instance Method Summary collapse

Instance Method Details

#custom_metadata_setsArray<StrawberryAPI::CustomMetadataSet>

Fetches all custom metadata sets

Returns:



10
11
12
13
14
# File 'lib/strawberry_api/client/custom_metadata_sets.rb', line 10

def 
  get("/custom_metadata_sets").parse['array']&.map do |set|
    CustomMetadataSet.new(set)
  end
end