Sha256: 1bcb7d5d4125b07f8dfa0fd3e94011fb6515a3420d7ae2abe8511a4db616277c
Contents?: true
Size: 483 Bytes
Versions: 24
Compression:
Stored size: 483 Bytes
Contents
module Intercom module GenericHandlers class BaseHandler attr_reader :method_sym, :arguments, :entity def initialize(method_sym, arguments, entity) @method_sym = method_sym @arguments = arguments @entity = entity end def method_string method_sym.to_s end def raise_no_method_missing_handler raise Intercom::NoMethodMissingHandler, "Could not handle '#{method_string}'" end end end end
Version data entries
24 entries across 24 versions & 2 rubygems