lib/roar/json/json_api/options.rb in roar-jsonapi-0.0.2 vs lib/roar/json/json_api/options.rb in roar-jsonapi-0.0.3
- old
+ new
@@ -4,10 +4,10 @@
# @api private
module Options
# Transforms `field:` and `include:`` options to their internal
# equivalents.
#
- # @see Document#to_hash
+ # @see SingleResource#to_hash
class Include
DEFAULT_INTERNAL_INCLUDES = [:attributes, :relationships].freeze
def self.call(options, mappings)
new.(options, mappings)