# ----------------------------------------------------------------------- # Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved. # ----------------------------------------------------------------------- require 'App42Response.rb' # # # This Email object is the value object which contains the properties of Email. # # module App42 module AppTab class Test < App42Response attr_accessor :name, :description, :promoCode, :discountList, :discountDetails @name @description @promoCode @discountDetails @discountList = Array.new() end class Discount attr_accessor :percentage, :usage, :startDate, :endDate @percentage @usage @startDate @endDate # # This is a constructor that takes no parameter # # def initialize(dis) dis.discountDetails = (self) end end end end