class LeanTesting::PlatformOSHandler
Public Instance Methods
all(filters = nil)
click to toggle source
Calls superclass method
LeanTesting::EntityHandler#all
# File lib/Handler/Platform/PlatformOSHandler.rb, line 4 def all(filters = nil) if !filters filters = {} end super filters = {'include' => 'versions'}.merge(filters) request = APIRequest.new(@origin, '/v1/platform/os', 'GET') EntityList.new(@origin, request, PlatformOS, filters) end
find(id)
click to toggle source
Calls superclass method
LeanTesting::EntityHandler#find
# File lib/Handler/Platform/PlatformOSHandler.rb, line 17 def find(id) super req = APIRequest.new(@origin, '/v1/platform/os/' + id.to_s(), 'GET', {'params' => {'include' => 'versions'}}) PlatformOS.new(@origin, req.exec) end