Class: Sputnik::Plan
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.all ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/sputnik/plan.rb', line 4 def all response = client.get('/plans') values = [] response.each do |item| values << Plan.new(item) end end |