rename some stuff in hydra to make it more clear [ci skip]
This commit is contained in:
parent
42a93f9490
commit
3e65d39b68
1 changed files with 3 additions and 3 deletions
|
|
@ -30,8 +30,8 @@ class HydraWrapper
|
|||
end
|
||||
|
||||
# @return [Salmon]
|
||||
def salmon
|
||||
@salmon ||= @dispatcher_class.salmon(@user, Base64.decode64(@encoded_object_xml))
|
||||
def xml_factory
|
||||
@xml_factory ||= @dispatcher_class.salmon(@user, Base64.decode64(@encoded_object_xml))
|
||||
end
|
||||
|
||||
# Group people on their receiving_urls
|
||||
|
|
@ -45,7 +45,7 @@ class HydraWrapper
|
|||
# Inserts jobs for all @people
|
||||
def enqueue_batch
|
||||
grouped_people.each do |receive_url, people_for_receive_url|
|
||||
if xml = salmon.xml_for(people_for_receive_url.first)
|
||||
if xml = xml_factory.xml_for(people_for_receive_url.first)
|
||||
self.insert_job(receive_url, xml, people_for_receive_url)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue