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

Course upload improvements #2

Merged
merged 1 commit into from
Sep 11, 2014

Conversation

javawizard
Copy link

Allow uploading courses directly with one method call
Course files can now be passed in as any IO-like object

@@ -33,6 +33,11 @@ def post(method, path, params = {})
end
body = res.body
end
if path.respond_to? :read

Choose a reason for hiding this comment

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

This was super confusing for me to read through the first time, perhaps we can rename the path variable to something like file? Just thinking for later understandability.

Copy link
Author

Choose a reason for hiding this comment

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

Renamed to file.

  - Allow uploading courses directly with one method call
  - Course files can now be passed in as any IO-like object
@javawizard javawizard force-pushed the course-upload-improvements branch from d6d1983 to 64e53ed Compare September 10, 2014 22:20
miquella added a commit that referenced this pull request Sep 11, 2014
@miquella miquella merged commit 7361378 into instructure:master Sep 11, 2014
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