Sha256: 78d0544dcb67cc0315a7bf1ee1c9fbca1280c386c76f5b64200f58a34fbf1a31
Contents?: true
Size: 504 Bytes
Versions: 14
Compression:
Stored size: 504 Bytes
Contents
# frozen_string_literal: true module Dato module Local module FieldType class Seo attr_reader :title, :description def self.parse(value, _repo) new(value[:title], value[:description], value[:image]) end def initialize(title, description, image) @title = title @description = description @image = image end def image @image && Image.parse(@image, nil) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems