fog / fog-openstack-core

fog's core openstack behaviors without API and cloud provider specifics
Apache License 2.0
6 stars 8 forks source link

Modified Fog::OSC::Identity to play nicer with Fog::Service #18

Closed elight closed 10 years ago

elight commented 10 years ago

So maybe something like this... except ServiceDiscovery now has to worry about returning a Mock vs a Real.

elight commented 10 years ago

@mwhagedorn @wchrisjohnson @krames This seems to do the trick. Mocks and Reals both get created.

My tired brain didn't realize that, because the V1 and V2 classes already inherited from Fog::Service that Fog::Service would still do the heavy lifting other than my necessary Fog::OSC::Identity change.

Good to go? Someone else merge it.