Sha256: 994c715f73d698a916629492cb2cf7f2ef5b58422d38626f19206b521e3ec4c5
Contents?: true
Size: 914 Bytes
Versions: 1
Compression:
Stored size: 914 Bytes
Contents
# ----------------------------------------------------------------------- # 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
App42_RUBY_SDK-0.8.3 | lib/appTab/Test.rb |