Class: LeanTesting::PlatformDevicesHandler

Inherits:
EntityHandler show all
Defined in:
lib/Handler/Platform/PlatformDevicesHandler.rb

Instance Method Summary collapse

Methods inherited from EntityHandler

#all, #create, #delete, #initialize, #update

Constructor Details

This class inherits a constructor from LeanTesting::EntityHandler

Instance Method Details

#find(id) ⇒ Object



4
5
6
7
8
9
# File 'lib/Handler/Platform/PlatformDevicesHandler.rb', line 4

def find(id)
  super

  req = APIRequest.new(@origin, '/v1/platform/devices/' + id.to_s(), 'GET')
  PlatformDevice.new(@origin, req.exec)
end