Skip to content

Conversation

@cyprus11
Copy link

No description provided.

def download_file(url)
uri = URI.parse(url)

Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https') do |http|
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вообще предполагалаось, что вы все-таки будет опираться на события RabbitMQ, а не воспользуетесь REST-овым обращением через HTTP. Но наверное это я запутал вас в задании.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants