Module: StrawberryAPI::Client::CustomMetadataSets
- Included in:
- StrawberryAPI::Client
- Defined in:
- lib/strawberry_api/client/custom_metadata_sets.rb
Instance Method Summary collapse
-
#custom_metadata_sets ⇒ Array<StrawberryAPI::CustomMetadataSet>
Fetches all custom metadata sets.
Instance Method Details
#custom_metadata_sets ⇒ Array<StrawberryAPI::CustomMetadataSet>
Fetches all custom metadata sets
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 |