module Castle::API::ReportDevice
Sends PUT devices/#{device_token}/report request
Public Class Methods
call(options = {})
click to toggle source
@param options [Hash] return [Hash]
# File lib/castle/api/report_device.rb, line 10 def call(options = {}) options = Castle::Utils::DeepSymbolizeKeys.call(options || {}) http = options.delete(:http) config = options.delete(:config) || Castle.config Castle::API.call(Castle::Commands::ReportDevice.build(options), {}, http, config) end