class Telegram::Bot::Types::ShippingAddress

Attributes

city[RW]
country_code[RW]
post_code[RW]
state[RW]
street_line1[RW]
street_line2[RW]

Public Class Methods

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