Sha256: 6399465e6e9b1235659256106b7f5ceeaad414d1a2fec62606c5dc30be44479c
Contents?: true
Size: 921 Bytes
Versions: 1
Compression:
Stored size: 921 Bytes
Contents
# ----------------------------------------------------------------------- # Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved. # ----------------------------------------------------------------------- require 'connection/RESTConnection.rb' require 'util/util.rb' require 'json/pure' # # # This Session object is the value object which contains the properties of # Session. # # module App42 module Session class Session < App42Response attr_accessor :userName, :sessionId,:createdOn,:invalidatedOn,:attributeList @userName @sessionId @createdOn @invalidatedOn @attributeList = Array.new() end class Attribute attr_accessor :name, :value @name @value # # This is a constructor that takes no parameter # # def initialize(session) session.attributeList.push(self) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
App42_RUBY_SDK-0.8.3 | lib/session/Session.rb |