Class: Seam::Resources::UnmanagedDevice::Location

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/seam/resources/unmanaged_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)


29
30
31
# File 'lib/seam/resources/unmanaged_device.rb', line 29

def location_name
  @location_name
end

#room_nameString?

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

Returns:

  • (String, nil)


32
33
34
# File 'lib/seam/resources/unmanaged_device.rb', line 32

def room_name
  @room_name
end

#time_zoneString?

Time zone of the device location.

Returns:

  • (String, nil)


35
36
37
# File 'lib/seam/resources/unmanaged_device.rb', line 35

def time_zone
  @time_zone
end

#timezoneString?

Deprecated.

Use time_zone instead.

Time zone of the device location.

Returns:

  • (String, nil)


39
40
41
# File 'lib/seam/resources/unmanaged_device.rb', line 39

def timezone
  @timezone
end