/usr/lib/ruby/vendor_ruby/diaspora_federation/entities/location.rb is in ruby-diaspora-federation 0.1.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | module DiasporaFederation
module Entities
# This entity is used to specify location data and used embedded in a status message.
#
# @see Validators::LocationValidator
class Location < Entity
# @!attribute [r] address
# A string describing your location, e.g. a city name, a street name, etc
# @return [String] address
property :address
# @!attribute [r] lat
# Geographical latitude of your location
# @return [String] latitude
property :lat
# @!attribute [r] lng
# Geographical longitude of your location
# @return [String] longitude
property :lng
end
end
end
|