Method: Model::Device#location

Defined in:
lib/models/device.rb

#locationObject



21
22
23
24
25
26
# File 'lib/models/device.rb', line 21

def location
  node = query.value(LV.locatedAt)
  return nil if node.nil?

  Location.new(node, query.repository)
end