joyent resize smartmachine incorrect class type

When doing a resize on Fog master the following error message appears. . 

NoMethodError: undefined method `resize_machine' for #<Fog::Compute::Joyent::Real:0x000000015b86b8>
        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 `<main>'

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.