Class: Fog::Compute::Packet::Plans

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

Overview

Plans

Instance Method Summary collapse

Instance Method Details

#all(params = {}) ⇒ Object



10
11
12
13
# File 'lib/fog/compute/packet/models/plans.rb', line 10

def all(params = {})
  response = service.list_plans(params)
  load(response.body["plans"])
end