Method: TelegramBot::ChatLocation#valid?
- Defined in:
- lib/telegram-bot/models/chat_location.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
98 99 100 101 102 103 |
# File 'lib/telegram-bot/models/chat_location.rb', line 98 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @location.nil? return false if @address.nil? true end |