Skip to content

Commit a5582da

Browse files
authored
DOCS: Fix ResourceSerializer#initialize option
Spelling of an option
1 parent 3cd338f commit a5582da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/jsonapi/resource_serializer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ResourceSerializer
1515
# relationship ids in the links section for a resource. Fields are global for a resource type.
1616
# Example: { people: [:id, :email, :comments], posts: [:id, :title, :author], comments: [:id, :body, :post]}
1717
# key_formatter: KeyFormatter instance to override the default configuration
18-
# serializer_options: additional options that will be passed to resource meta and links lambdas
18+
# serialization_options: additional options that will be passed to resource meta and links lambdas
1919

2020
def initialize(primary_resource_klass, options = {})
2121
@primary_resource_klass = primary_resource_klass

0 commit comments

Comments
 (0)