Sha256: e777d775b170d00f776e37fffdf87354645bb060daa907aef0df4f3dd0d21808

Contents?: true

Size: 317 Bytes

Versions: 6

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class OrderInfo < Base
        attribute? :name, Types::String
        attribute? :phone_number, Types::String
        attribute? :email, Types::String
        attribute? :shipping_address, ShippingAddress
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/order_info.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/order_info.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/order_info.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/order_info.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/order_info.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/order_info.rb