Sha256: 9130b531b16c8e60e64886080fbc523b50f767a05abbb7ea5687e9c3d052c991

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

# frozen_string_literal: true

module PlatformosCheck
  module PlatformosLiquid
    class SourceIndex
      class ParameterEntry < BaseEntry
        def summary
          nil
        end

        def platformos_documentation_url
          "#{PLATFORMOS_DOCUMENTATION_URL}/api-reference/liquid/filters/#{hash['name']}"
        end

        private

        def return_type_hash
          {
            'type' => (hash['types'] || ['untyped']).first
          }
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
platformos-check-0.0.3 lib/platformos_check/platformos_liquid/source_index/parameter_entry.rb
platformos-check-0.0.2 lib/platformos_check/platformos_liquid/source_index/parameter_entry.rb
platformos-check-0.0.1 lib/platformos_check/platformos_liquid/source_index/parameter_entry.rb