fog/fog — pull request #1585 by angusscown (2013-02-21 22:14:53+00:00)
Title: joyent resize smartmachine incorrect class type

When doing a resize on Fog master the following error message appears. .

NoMethodError: undefined method `resize_machine' for #
from /home/angus/.rvm/gems/ruby-1.9.3-p194/gems/fog-1.9.0/lib/fog/joyent/models/compute/server.rb:56:in `resize'
from (irb):6
from /home/angus/.rvm/rubies/ruby-1.9.3-p194/bin/irb:16:in `

'

It appears that the service needs to be 'cast' as Real. I've also ensured that there is consistancy by the library method resize that requires a 'flavor' passes the 'package' (string) to the request library.