diff --git a/lib/grape_entity/entity.rb b/lib/grape_entity/entity.rb index 97251a3a..9324e3ee 100644 --- a/lib/grape_entity/entity.rb +++ b/lib/grape_entity/entity.rb @@ -153,7 +153,7 @@ def self.inherited(subclass) # # @example as: a proc or lambda # - # object = OpenStruct(awesomness: 'awesome_key', awesome: 'not-my-key', other: 'other-key' ) + # object = OpenStruct(awesomeness: 'awesome_key', awesome: 'not-my-key', other: 'other-key' ) # # class MyEntity < Grape::Entity # expose :awesome, as: proc { object.awesomeness }