Sha256: 45eb2c172e310183f5cf9eeac40b43d8fb49eb7ec68cf15da680a9f5cb5a004b
Contents?: true
Size: 710 Bytes
Versions: 1
Compression:
Stored size: 710 Bytes
Contents
# ----------------------------------------------------------------------- # Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved. # ----------------------------------------------------------------------- require 'App42_Ruby_API/App42Response' module App42 module Storage class OrderByType < App42Response ASCENDING = "ASCENDING" DESCENDING = "DESCENDING" def enum(string) return OrderByType.const_get(string) end def isAvailable(string) if(string == "ASCENDING") return "ASCENDING" elsif(string == "DESCENDING") return "DESCENDING"; else return nil end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
App42_Ruby_API-0.8.4 | lib/storage/OrderByType.rb |