We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5238a3d commit 675d3c0Copy full SHA for 675d3c0
lib/grape_entity/entity.rb
@@ -153,7 +153,7 @@ def self.inherited(subclass)
153
#
154
# @example as: a proc or lambda
155
156
- # object = OpenStruct(awesomness: 'awesome_key', awesome: 'not-my-key', other: 'other-key' )
+ # object = OpenStruct(awesomeness: 'awesome_key', awesome: 'not-my-key', other: 'other-key' )
157
158
# class MyEntity < Grape::Entity
159
# expose :awesome, as: proc { object.awesomeness }
0 commit comments