class Line::Bot::Event::Base

Public Class Methods

new(src) click to toggle source
# File lib/line/bot/event/base.rb, line 19
def initialize(src)
  @src = src
end

Public Instance Methods

[](key) click to toggle source
# File lib/line/bot/event/base.rb, line 23
def [](key)
  @src[key]
end
to_hash() click to toggle source
# File lib/line/bot/event/base.rb, line 27
def to_hash
  @src
end