Skip to content

Commit f761bbd

Browse files
author
David Zuckerman
committed
moved usernames to environment
1 parent 44e0e3f commit f761bbd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/berkeley_library/sftp_handler/downloader/gobi.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def default_host
4343
end
4444

4545
def default_username
46-
'berkeley'
46+
ENV['LIT_GOBI_USERNAME]'
4747
end
4848

4949
def ssh_options

lib/berkeley_library/sftp_handler/downloader/lbnl.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ def default_host
3535
end
3636

3737
def default_username
38-
'ucblib'
38+
ENV['LIT_LBNL_USERNAME']
3939
end
4040

4141
def default_filename
42-
@default_filename ||= "lbnl_people_#{most_recent_monday.strftime('%Y%m%d')}.zip"
42+
@default_filename ||= "#{ENV['LBNL_FILENAME']}_#{most_recent_monday.strftime('%Y%m%d')}.zip"
4343
end
4444

4545
def most_recent_monday

0 commit comments

Comments
 (0)