class Telegram::ClientAdapter::ApiProxy

Public Class Methods

new(adapter) click to toggle source
# File lib/telegram/client_adapter.rb, line 8
def initialize adapter
  @adapter = adapter
end

Public Instance Methods

method_missing(command, *args) click to toggle source
# File lib/telegram/client_adapter.rb, line 12
def method_missing command, *args
  puts "call adapter with #{command}"
  p args
  @adapter.send_command command, *args
end