class Telegram::Bot::Types::OrderInfo
Attributes
email[RW]
name[RW]
phone_number[RW]
shipping_address[RW]
Public Class Methods
new(attributes)
click to toggle source
# File lib/telegram/bot/types/order_info.rb, line 8 def initialize(attributes) attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k } end
Public Instance Methods
shipping_address=(attributes)
click to toggle source
# File lib/telegram/bot/types/order_info.rb, line 12 def shipping_address=(attributes) @shipping_address = ShippingAddress.new(attributes) end