Sha256: 355641659730a4b491d9ad701b00bb9ae126d28d6b9c73989515d34c62808f24

Contents?: true

Size: 556 Bytes

Versions: 5

Compression:

Stored size: 556 Bytes

Contents

module TestdroidAPI
  class Admin < CloudResource
    def initialize(uri, client, params = {})
      super uri, client, "admin", params
      @uri, @client = uri, client
    end

    def device_statuses
      AdminDeviceStatuses.new(@uri + "/device/statuses", @client)
    end

    def device_problems
      AdminDeviceProblems.new(@uri + "/device-problems", @client)
    end

    def device_models
      AdminDeviceModels.new(@uri + "/device-models", @client)
    end

    def devices
      AdminDevices.new(@uri + "/devices", @client)
    end

  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
testdroid-api-client-0.6.0 lib/testdroid_api/admin.rb
testdroid-api-client-updated-0.5.1 lib/testdroid_api/admin.rb
testdroid-api-client-0.5.0 lib/testdroid_api/admin.rb
testdroid-api-client-0.4.1 lib/testdroid_api/admin.rb
testdroid-api-client-0.4.0 lib/testdroid_api/admin.rb