Skip to content

Commit

Permalink
Merge pull request #220 from Yuki-Inoue/patch-1
Browse files Browse the repository at this point in the history
[proposal] Make src accessible from event object
  • Loading branch information
kimoto authored Mar 19, 2021
2 parents e1d882b + 8cc3835 commit 6ffeeb3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/line/bot/event/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ def initialize(src)
def [](key)
@src[key]
end

def to_hash
@src
end
end
end
end
Expand Down

0 comments on commit 6ffeeb3

Please sign in to comment.