class Telegram::Bot::Types::Location

Attributes

latitude[RW]
longitude[RW]

Public Class Methods

new(attributes) click to toggle source
# File lib/telegram/bot/types/location.rb, line 6
def initialize(attributes)
  attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k }
end