Sha256: 42f393ecd34f6a6c0eed3cd5c5c8669a698c8204b469e9f7274be42f1e8ae975

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

# frozen_string_literal: true

module ThemeCheck
  module ShopifyLiquid
    class SourceIndex
      class ParameterEntry < BaseEntry
        def summary
          nil
        end

        def shopify_dev_url
          "#{SHOPIFY_DEV_ROOT_URL}/filters/#{hash['name']}"
        end

        private

        def return_type_hash
          {
            'type' => (hash['types'] || ['untyped']).first,
          }
        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/parameter_entry.rb
theme-check-1.14.0 lib/theme_check/shopify_liquid/source_index/parameter_entry.rb