lib/centaman/object/purchased_ticket.rb in centaman-6.0.3 vs lib/centaman/object/purchased_ticket.rb in centaman-6.0.4
- old
+ new
@@ -1,5 +1,12 @@
class Centaman::Object::PurchasedTicket < Centaman::Object
+ attr_accessor :id
+
+ def define_variables(args = {})
+ super
+ @id = item_code
+ end
+
def attributes
[
Centaman::Attribute.new(
centaman_key: "ItemDescription",
app_key: :item_description,