Class: Latitude::API::Resources::Traffic::Region
- Inherits:
-
APIObject
- Object
- APIObject
- Latitude::API::Resources::Traffic::Region
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
#attribute, #attribute_specs
#attribute_spec, #read_attribute, #wrap_attribute
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Latitude::API::APIObject
Instance Attribute Details
#data ⇒ Array<Data>
51
52
53
54
55
56
57
58
|
# File 'lib/latitude/api/resources/traffic.rb', line 51
class Region < APIObject
attribute :region_slug, :string, read_only: true
attribute :total_inbound_gb, :integer, read_only: true
attribute :total_outbound_gb, :integer, read_only: true
attribute :total_inbound_95th_percentile_mbps, :float, read_only: true
attribute :total_outbound_95th_percentile_mbps, :float, read_only: true
attribute :data, [Data], read_only: true
end
|
#region_slug ⇒ String
51
52
53
54
55
56
57
58
|
# File 'lib/latitude/api/resources/traffic.rb', line 51
class Region < APIObject
attribute :region_slug, :string, read_only: true
attribute :total_inbound_gb, :integer, read_only: true
attribute :total_outbound_gb, :integer, read_only: true
attribute :total_inbound_95th_percentile_mbps, :float, read_only: true
attribute :total_outbound_95th_percentile_mbps, :float, read_only: true
attribute :data, [Data], read_only: true
end
|
#total_inbound_95th_percentile_mbps ⇒ Float
51
52
53
54
55
56
57
58
|
# File 'lib/latitude/api/resources/traffic.rb', line 51
class Region < APIObject
attribute :region_slug, :string, read_only: true
attribute :total_inbound_gb, :integer, read_only: true
attribute :total_outbound_gb, :integer, read_only: true
attribute :total_inbound_95th_percentile_mbps, :float, read_only: true
attribute :total_outbound_95th_percentile_mbps, :float, read_only: true
attribute :data, [Data], read_only: true
end
|
#total_inbound_gb ⇒ Integer
51
52
53
54
55
56
57
58
|
# File 'lib/latitude/api/resources/traffic.rb', line 51
class Region < APIObject
attribute :region_slug, :string, read_only: true
attribute :total_inbound_gb, :integer, read_only: true
attribute :total_outbound_gb, :integer, read_only: true
attribute :total_inbound_95th_percentile_mbps, :float, read_only: true
attribute :total_outbound_95th_percentile_mbps, :float, read_only: true
attribute :data, [Data], read_only: true
end
|
#total_outbound_95th_percentile_mbps ⇒ Float
51
52
53
54
55
56
57
58
|
# File 'lib/latitude/api/resources/traffic.rb', line 51
class Region < APIObject
attribute :region_slug, :string, read_only: true
attribute :total_inbound_gb, :integer, read_only: true
attribute :total_outbound_gb, :integer, read_only: true
attribute :total_inbound_95th_percentile_mbps, :float, read_only: true
attribute :total_outbound_95th_percentile_mbps, :float, read_only: true
attribute :data, [Data], read_only: true
end
|
#total_outbound_gb ⇒ Integer
51
52
53
54
55
56
57
58
|
# File 'lib/latitude/api/resources/traffic.rb', line 51
class Region < APIObject
attribute :region_slug, :string, read_only: true
attribute :total_inbound_gb, :integer, read_only: true
attribute :total_outbound_gb, :integer, read_only: true
attribute :total_inbound_95th_percentile_mbps, :float, read_only: true
attribute :total_outbound_95th_percentile_mbps, :float, read_only: true
attribute :data, [Data], read_only: true
end
|