Sha256: 89bcd0b12c2eeba2b2032e8d24b19202523e2fd0b2ba59f2a4d6248739139125
Contents?: true
Size: 436 Bytes
Versions: 2
Compression:
Stored size: 436 Bytes
Contents
# frozen_string_literal: true module ThemeCheck module ShopifyLiquid class SourceIndex class ObjectEntry < BaseEntry def properties (hash['properties'] || []) .map do |prop_hash| PropertyEntry.new(prop_hash, hash['name']) end end def shopify_dev_url "#{SHOPIFY_DEV_ROOT_URL}/objects/#{hash['name']}" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
theme-check-1.15.0 | lib/theme_check/shopify_liquid/source_index/object_entry.rb |
theme-check-1.14.0 | lib/theme_check/shopify_liquid/source_index/object_entry.rb |