Sha256: d5b4828aa71f0be0f6e7680b821a4f52e442b76d1abf1777080d8eca9a4e239d

Contents?: true

Size: 217 Bytes

Versions: 2

Compression:

Stored size: 217 Bytes

Contents

# frozen_string_literal: true
module Platform
  module Objects
    class Photo < Platform::Objects::Base
      field :caption, String, null: true

      def caption
        @object.caption
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
graphql-1.8.0 spec/fixtures/upgrader/photo.transformed.rb
graphql-1.8.0.pre11 spec/fixtures/upgrader/photo.transformed.rb