fog / fog-xenserver

Module for the 'fog' gem to support XENSERVER
MIT License
16 stars 22 forks source link

Moved Logic code to Requests (There are some left behind) #19

Closed plribeiro3000 closed 10 years ago

plribeiro3000 commented 10 years ago

All models will just handle attributes and associations now. The access to the server from the models will be handled by meta programming which will call the correct resquest method depending on the desired model.

plribeiro3000 commented 10 years ago

With this modifications, add a new request method (follow the name convention) will also add this method to be called from inside the respective model.

This approach let me tests the models as PORO's.

The heavier and harder tests will be only on requests. =)

coveralls commented 10 years ago

Coverage Status

Coverage increased (+2.52%) when pulling e9fd56b1df67081c9573bdb355c21994b332a580 on moving_logic_to_requests into e858907971b1a380de69f81853922f0d9fe70290 on master.