class Telegram::Bot::Types::Venue
Attributes
address[RW]
foursquare_id[RW]
location[RW]
title[RW]
Public Class Methods
new(attributes)
click to toggle source
# File lib/telegram/bot/types/venue.rb, line 8 def initialize(attributes) attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k } end
Public Instance Methods
location=(attributes)
click to toggle source
# File lib/telegram/bot/types/venue.rb, line 12 def location=(attributes) @location = Location.new(attributes) end