Class: Latitude::API::Resources::Traffic::Data

Inherits:
APIObject
  • Object
show all
Defined in:
lib/latitude/api/resources/traffic.rb

Constant Summary

Constants inherited from APIObject

APIObject::RESERVED

Instance Attribute Summary collapse

Attributes inherited from APIObject

#raw

Method Summary

Methods inherited from APIObject

#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap

Methods included from Attributes::ClassMethods

#attribute, #attribute_specs

Methods included from Attributes::InstanceMethods

#attribute_spec, #read_attribute, #wrap_attribute

Constructor Details

This class inherits a constructor from Latitude::API::APIObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Latitude::API::APIObject

Instance Attribute Details

#avg_inbound_speed_mbpsFloat (readonly)

Returns:



31
32
33
34
35
36
37
# File 'lib/latitude/api/resources/traffic.rb', line 31

class Data < APIObject
  attribute :date, :time, read_only: true
  attribute :inbound_gb, :integer, read_only: true
  attribute :outbound_gb, :integer, read_only: true
  attribute :avg_outbound_speed_mbps, :float, read_only: true
  attribute :avg_inbound_speed_mbps, :float, read_only: true
end

#avg_outbound_speed_mbpsFloat (readonly)

Returns:



31
32
33
34
35
36
37
# File 'lib/latitude/api/resources/traffic.rb', line 31

class Data < APIObject
  attribute :date, :time, read_only: true
  attribute :inbound_gb, :integer, read_only: true
  attribute :outbound_gb, :integer, read_only: true
  attribute :avg_outbound_speed_mbps, :float, read_only: true
  attribute :avg_inbound_speed_mbps, :float, read_only: true
end

#dateTime (readonly)

Returns:



31
32
33
34
35
36
37
# File 'lib/latitude/api/resources/traffic.rb', line 31

class Data < APIObject
  attribute :date, :time, read_only: true
  attribute :inbound_gb, :integer, read_only: true
  attribute :outbound_gb, :integer, read_only: true
  attribute :avg_outbound_speed_mbps, :float, read_only: true
  attribute :avg_inbound_speed_mbps, :float, read_only: true
end

#inbound_gbInteger (readonly)

Returns:



31
32
33
34
35
36
37
# File 'lib/latitude/api/resources/traffic.rb', line 31

class Data < APIObject
  attribute :date, :time, read_only: true
  attribute :inbound_gb, :integer, read_only: true
  attribute :outbound_gb, :integer, read_only: true
  attribute :avg_outbound_speed_mbps, :float, read_only: true
  attribute :avg_inbound_speed_mbps, :float, read_only: true
end

#outbound_gbInteger (readonly)

Returns:



31
32
33
34
35
36
37
# File 'lib/latitude/api/resources/traffic.rb', line 31

class Data < APIObject
  attribute :date, :time, read_only: true
  attribute :inbound_gb, :integer, read_only: true
  attribute :outbound_gb, :integer, read_only: true
  attribute :avg_outbound_speed_mbps, :float, read_only: true
  attribute :avg_inbound_speed_mbps, :float, read_only: true
end