Sha256: 4af6ae4a118634253fbb9362f17599a58bf42533ad015a11eefef07ec8c3943b
Contents?: true
Size: 873 Bytes
Versions: 1
Compression:
Stored size: 873 Bytes
Contents
# ----------------------------------------------------------------------- # Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved. # ----------------------------------------------------------------------- require 'App42_Ruby_API/App42Response' # # # This Upload object is the value object which contains the properties of # Upload along with the setter & getter for those properties. # # module App42 module Upload class Upload < App42Response attr_accessor :fileList @fileList = Array.new end class File attr_accessor :name, :userName, :type, :description, :url, :tinyUrl @userName @name @type @url @description @tinyUrl # # This is constructor that take no parameters # def initialize(upload) upload.fileList.push(self) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
App42_Ruby_API-0.8.4 | lib/upload/Upload.rb |