lib/azeroth/options.rb in azeroth-0.8.2 vs lib/azeroth/options.rb in azeroth-0.9.0
- old
+ new
@@ -19,10 +19,11 @@
except: [],
decorator: true,
before_save: nil,
after_save: nil,
build_with: nil,
+ update_with: nil,
paginated: false,
per_page: 20
}.freeze
with_options DEFAULT_OPTIONS
@@ -105,9 +106,16 @@
# @method build_with
# @api private
#
# Block or method name to be ran when building the resource
+ #
+ # @return [Symbol,Proc]
+
+ # @method update_with
+ # @api private
+ #
+ # Block or method name to be ran when updating the resource
#
# @return [Symbol,Proc]
# @method paginated
# @api private