Class: Services::MdsPush
Instance Attribute Summary
#service_definition
Class Method Summary
collapse
Instance Method Summary
collapse
#account_map, #initialize, #server_credentials
Class Method Details
.service_impl ⇒ Object
14
15
16
|
# File 'app/models/services/mds_push.rb', line 14
def self.service_impl
nil
end
|
Instance Method Details
#invoke ⇒ Object
5
6
|
# File 'app/models/services/mds_push.rb', line 5
def invoke
end
|
#push_mds_file(available_file) ⇒ Object
8
9
10
11
12
|
# File 'app/models/services/mds_push.rb', line 8
def push_mds_file(available_file)
raise "Downloaded file does not exist: #{available_file.downloaded_file_path}" unless available_file.downloaded_file_exists?
raise "Downloaded file is not valid MDS: #{available_file.downloaded_file_path}" unless available_file.valid_mds_file?
submit_to_service(available_file)
end
|
#submit_to_service(available_file) ⇒ Object
18
19
20
|
# File 'app/models/services/mds_push.rb', line 18
def submit_to_service(available_file)
puts "## Submitting MDS file to service"
end
|