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

Setup Netlify site for yard docs #3019

Merged
merged 6 commits into from
Jan 12, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix yard doc of order cancellations class
  • Loading branch information
tvdeyen committed Jan 3, 2019
commit 7e785f501458c68e9ddce05862b166c38e4776f5
8 changes: 4 additions & 4 deletions core/app/models/spree/order_cancellations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def initialize(order)
# @api public
#
# @param [Array<InventoryUnit>] inventory_units the inventory units to be short shipped
# @param (deprecated) [String] whodunnit the system or person that is short shipping the inventory unit
# @param [String] created_by the system or person that is short shipping the inventory unit
# @param [Spree.user_class] whodunnit (deprecated) the system or person that is short shipping the inventory unit
# @param [Spree.user_class] created_by the system or person that is short shipping the inventory unit
#
# @return [Array<UnitCancel>] the units that have been canceled due to short shipping
def short_ship(inventory_units, whodunnit: nil, created_by: nil)
Expand Down Expand Up @@ -65,8 +65,8 @@ def short_ship(inventory_units, whodunnit: nil, created_by: nil)
#
# @param [InventoryUnit] inventory_unit the inventory unit to be canceled
# @param [String] reason the reason that you are canceling the inventory unit
# @param (deprecated) [String] whodunnit the system or person that is canceling the inventory unit
# @param [String] created_by the system or person that is canceling the inventory unit
# @param [Spree.user_class] whodunnit (deprecated) the system or person that is canceling the inventory unit
# @param [Spree.user_class] created_by the system or person that is canceling the inventory unit
#
# @return [UnitCancel] the unit that has been canceled
def cancel_unit(inventory_unit, reason: Spree::UnitCancel::DEFAULT_REASON, whodunnit: nil, created_by: nil)
Expand Down