Session objects are get with CKApplication#session. The method returns a new session objects if session don't exist.
session = application.session p session #-> <CKSession:0x....>