Class: Types::Packages::PackageLinksType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::Packages::PackageLinksType
- Includes:
- Routing::PackagesHelper
- Defined in:
- app/graphql/types/packages/package_links_type.rb
Instance Method Summary collapse
Methods included from Routing::PackagesHelper
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
Methods included from Gitlab::Graphql::Present
Instance Method Details
#web_path ⇒ Object
14 15 16 17 18 |
# File 'app/graphql/types/packages/package_links_type.rb', line 14 def web_path return unless object.default? package_path(object) end |