Class: Types::BlobViewerType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::BlobViewerType
- Defined in:
- app/graphql/types/blob_viewer_type.rb
Overview
rubocop:disable Graphql/AuthorizeTypes
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
Methods included from Gitlab::Graphql::Present
Instance Method Details
#collapsed ⇒ Object
39 40 41 |
# File 'app/graphql/types/blob_viewer_type.rb', line 39 def collapsed !!object&.collapsed? end |
#too_large ⇒ Object
43 44 45 |
# File 'app/graphql/types/blob_viewer_type.rb', line 43 def too_large !!object&.too_large? end |