Module: Types::Projects::ServiceType

Includes:
BaseInterface
Defined in:
app/graphql/types/projects/service_type.rb

Overview

Instance Method Summary collapse

Instance Method Details

#service_typeObject



24
25
26
# File 'app/graphql/types/projects/service_type.rb', line 24

def service_type
  object.type
end

#typeObject



19
20
21
22
# File 'app/graphql/types/projects/service_type.rb', line 19

def type
  enum = ::Types::Projects::ServiceTypeEnum.coerce_result(service_type, context)
  enum.downcase.camelize
end