Class: Fog::Compute::Packet::Bandwidth

Inherits:
Fog::Collection
  • Object
show all
Defined in:
lib/fog/compute/packet/models/bandwidth.rb

Overview

Bandwidth Collection

Instance Method Summary collapse

Instance Method Details

#get(device_id, params = {}) ⇒ Object



6
7
8
9
10
# File 'lib/fog/compute/packet/models/bandwidth.rb', line 6

def get(device_id, params = {})
  response = service.get_bandwidth(device_id, params)

  response if response.status == 200
end