Class: BulkImports::GetImportableDataService

Inherits:
Object
  • Object
show all
Defined in:
app/services/bulk_imports/get_importable_data_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(params, query_params, credentials) ⇒ GetImportableDataService

Returns a new instance of GetImportableDataService.



5
6
7
8
9
# File 'app/services/bulk_imports/get_importable_data_service.rb', line 5

def initialize(params, query_params, credentials)
  @params = params
  @query_params = query_params
  @credentials = credentials
end

Instance Method Details

#executeObject



11
12
13
14
15
16
# File 'app/services/bulk_imports/get_importable_data_service.rb', line 11

def execute
  {
    version_validation: version_validation,
    response: importables
  }
end