class TelegramBot::Location
Public Class Methods
from(hsh, lat = nil)
click to toggle source
Calls superclass method
# File lib/telegram_bot/location.rb, line 6 def self.from(hsh, lat = nil) case hsh when Integer new(hsh, lat) else super(hsh) end end