lostboy/fog — comment on commit 71e9b114f5010283e2e51cd6a44d22566b434d47
File:  line 0
By hedgehog:

In Fog 1.1.2:

opts = {:region => ...., }
::Fog::AWS::SNS::Real.new( opts )

Will init OK but not know anything about SNS methods (e.g `list_topics`):

NoMethodError: undefined method `list_topics' for #

On the other hand:

::Fog::AWS::SNS.new( opts )
ArgumentError: Unrecognized arguments: region
/src/project/ttinit/vendor/ruby/1.9.1/gems/fog-1.1.2/lib/fog/core/service.rb:193:in `validate_options'
/src/project/ttinit/vendor/ruby/1.9.1/gems/fog-1.1.2/lib/fog/core/service.rb:58:in `new'

There is a little too much magic happening in the test suite to be able to tell why this doesn't show up as a failure there.

I'm opening another issue but thought you might be able to shed some light in place of my ignorance.