Sha256: d5d98cb45d20f49c247287e5d8b39db5b58763ade00cc230286f7432fa29ec78

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 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= {})
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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