Skip to content

Commit

Permalink
Make src accessible from event object
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki-Inoue authored Mar 13, 2021
1 parent e1d882b commit 7a994fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/line/bot/event/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class Base
def initialize(src)
@src = src
end
attr_reader :src

def [](key)
@src[key]
Expand Down

0 comments on commit 7a994fa

Please sign in to comment.