class LeanTesting::PlatformTypeDevicesHandler
Public Class Methods
new(origin, typeID)
click to toggle source
Calls superclass method
LeanTesting::EntityHandler::new
# File lib/Handler/Platform/PlatformTypeDevicesHandler.rb, line 4 def initialize(origin, typeID) super(origin) @typeID = typeID end
Public Instance Methods
all(filters = nil)
click to toggle source
Calls superclass method
LeanTesting::EntityHandler#all
# File lib/Handler/Platform/PlatformTypeDevicesHandler.rb, line 10 def all(filters = nil) if !filters filters = {} end super request = APIRequest.new(@origin, '/v1/platform/types/' + @typeID.to_s() + '/devices', 'GET') EntityList.new(@origin, request, PlatformDevice, filters) end