class Telegram::Bot::Types::Invoice
Attributes
currency[RW]
description[RW]
start_parameter[RW]
title[RW]
total_amount[RW]
Public Class Methods
new(attributes)
click to toggle source
# File lib/telegram/bot/types/invoice.rb, line 9 def initialize(attributes) attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k } end