Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add files upload #4

Merged
merged 1 commit into from
Jul 12, 2017
Merged

add files upload #4

merged 1 commit into from
Jul 12, 2017

Conversation

Kirillvs
Copy link
Contributor

No description provided.

# @return [String] Код ошибки (0 - если успешно)
def upload_doc(auction_id, file, type = 'docs', append_mode = 1)
response = @client_web.command_with_attachments :upload_doc, [file], auction_id: auction_id, type: type, append_mode: append_mode, attachment_name: WebService::Types::AttachmentName.new(file).to_h
response.result
Copy link
Member

Choose a reason for hiding this comment

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

@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'byebug'
Copy link
Member

Choose a reason for hiding this comment

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

Зачем нам байбаг в зависимостях?

@Kirillvs Kirillvs merged commit 5e072a8 into master Jul 12, 2017
@Kirillvs Kirillvs deleted the files_upload branch July 12, 2017 23:52
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