Sha256: c37dcabd8140c89559440042533ecb4b28600999d180f142b06c9babfffea002

Contents?: true

Size: 391 Bytes

Versions: 2

Compression:

Stored size: 391 Bytes

Contents

module TestdroidAPI
		class DeviceSessions < CloudListResource
		end
		class DeviceSession < CloudResource
			def	initialize(uri, client, params= {})
				super uri, client,"deviceSession", params
				@uri, @client = uri, client
			end
      def release
          resp = @client.post("#{@uri}/release", params= {})
          DeviceSession.new("#{@uri}", @client, resp)
      end  
		end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
testdroid-api-client-0.1.2 lib/testdroid_api/device_sessions.rb
testdroid-api-client-0.1.1 lib/testdroid_api/device_sessions.rb