class Trusona::Services::DevicesService
A service to interact with the Device
resource in the Trusona
REST API
Public Class Methods
new(client: Trusona::Api::HTTPClient.new, mapper: Trusona::Mappers::DeviceMapper.new)
click to toggle source
Calls superclass method
Trusona::Services::BaseService::new
# File lib/trusona/services/devices_service.rb, line 8 def initialize(client: Trusona::Api::HTTPClient.new, mapper: Trusona::Mappers::DeviceMapper.new) super @resource_path = '/api/v2/devices' end