class MessageQuickly::Messaging::Receipt::Element

Attributes

currency[RW]
price[RW]
quantity[RW]

Public Instance Methods

to_hash() click to toggle source
# File lib/message_quickly/messaging/receipt/element.rb, line 8
def to_hash
  {
    title: title,
    subtitle: subtitle,
    quantity: quantity,
    price: price,
    currency: currency,
    image_url: image_url
  }
end