Class: Seam::Resources::Device::Location

Inherits:
BaseResource show all
Defined in:
lib/seam/resources/device.rb

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Method Summary

Methods inherited from BaseResource

#[], date_accessor, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response

Constructor Details

This class inherits a constructor from Seam::Resources::BaseResource

Instance Attribute Details

#location_nameString?

Name of the device location.

Returns:

  • (String, nil)


56
57
58
# File 'lib/seam/resources/device.rb', line 56

def location_name
  @location_name
end

#room_nameString?

Name of the room within the device location, when the provider reports one.

Returns:

  • (String, nil)


59
60
61
# File 'lib/seam/resources/device.rb', line 59

def room_name
  @room_name
end

#time_zoneString?

Time zone of the device location.

Returns:

  • (String, nil)


62
63
64
# File 'lib/seam/resources/device.rb', line 62

def time_zone
  @time_zone
end

#timezoneString?

Deprecated.

Use time_zone instead.

Time zone of the device location.

Returns:

  • (String, nil)


66
67
68
# File 'lib/seam/resources/device.rb', line 66

def timezone
  @timezone
end