Class: Packages::Nuget::OdataPackageEntryService

Inherits:
Object
  • Object
show all
Includes:
API::Helpers::RelatedResourcesHelpers
Defined in:
app/services/packages/nuget/odata_package_entry_service.rb

Instance Method Summary collapse

Methods included from API::Helpers::RelatedResourcesHelpers

#expose_path, #expose_url, #issues_available?, #mrs_available?, #project_feature_string_access_level

Constructor Details

#initialize(project, params) ⇒ OdataPackageEntryService

Returns a new instance of OdataPackageEntryService.



8
9
10
11
# File 'app/services/packages/nuget/odata_package_entry_service.rb', line 8

def initialize(project, params)
  @project = project
  @params = params
end

Instance Method Details

#executeObject



13
14
15
# File 'app/services/packages/nuget/odata_package_entry_service.rb', line 13

def execute
  ServiceResponse.success(payload: package_entry)
end