summaryrefslogtreecommitdiff
path: root/app/graphql/types/tree/blob_type.rb
blob: f2b7d5df2b23a2ad12ab55d984ee886c06d46c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true
module Types
  module Tree
    class BlobType < BaseObject
      implements Types::Tree::EntryType

      present_using BlobPresenter

      graphql_name 'Blob'

      field :web_url, GraphQL::STRING_TYPE, null: true
    end
  end
end