Class: ThemeCheck::ShopifyLiquid::SourceIndex::ObjectEntry

Inherits:
BaseEntry
  • Object
show all
Defined in:
lib/theme_check/shopify_liquid/source_index/object_entry.rb

Instance Attribute Summary

Attributes inherited from BaseEntry

#hash, #return_type

Instance Method Summary collapse

Methods inherited from BaseEntry

#deprecated?, #deprecation_reason, #description, #initialize, #name, #return_type_instance, #summary

Constructor Details

This class inherits a constructor from ThemeCheck::ShopifyLiquid::SourceIndex::BaseEntry

Instance Method Details

#propertiesObject



7
8
9
10
# File 'lib/theme_check/shopify_liquid/source_index/object_entry.rb', line 7

def properties
  (hash['properties'] || [])
    .map { |hash| PropertyEntry.new(hash) }
end