Sha256: e0d0ca84f7ce0fb462b3ec9138fa6025ee1f7878e4c98ab9b3212508d663f7d7
Contents?: true
Size: 258 Bytes
Versions: 5
Compression:
Stored size: 258 Bytes
Contents
require_relative 'objects' class TelegramBot::Location < Struct.new(:longitude, :latitude) include TelegramBot::AutoFromMethods def self.from(hsh, lat = nil) case hsh when Integer new(hsh, lat) else super(hsh) end end end
Version data entries
5 entries across 5 versions & 1 rubygems