Module: Zoomify::Resources::User
- Included in:
- Client
- Defined in:
- lib/zoomify/resources/user.rb
Instance Method Summary collapse
Instance Method Details
#upload_picture(*args) ⇒ Object
26 27 28 29 30 |
# File 'lib/zoomify/resources/user.rb', line 26 def upload_picture *args params = Request.extract_params_and_manage_user_id_error *args (raise Request.argument_error "pic_file") if params[:pic_file].blank? self.class.fire_post("/users/#{Request.extract_id_from_params(params)}/picture", params) end |