Sha256: a3e7c0cd4e652f3e25e56af48aaa4a3f0cfb1a2b4957160f6a5eaba3a3cc1307

Contents?: true

Size: 208 Bytes

Versions: 4

Compression:

Stored size: 208 Bytes

Contents

# frozen_string_literal: true
module Agave
  module Local
    module FieldType
      class Link
        def self.parse(value, repo)
          value && repo.find(value)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
agave-client-0.1.3 lib/agave/local/field_type/link.rb
agave-client-0.1.2 lib/agave/local/field_type/link.rb
agave-client-0.1.1 lib/agave/local/field_type/link.rb
agave-client-0.1.0 lib/agave/local/field_type/link.rb