Open jistr opened 11 years ago
A lot of the XML decode methods [1] will probably repeat itself across models, so we could extract it as common behavior.
[1] https://github.com/aeolus-incubator/thor-cli/blob/master/lib/aeolus_cli/model/provider.rb#L4-L29
EDIT after pblaho's comment:
Here's a permalink: https://github.com/aeolus-incubator/thor-cli/blob/e7b65db7573dea8fafd5d182d9ff06ef1c695b1b/lib/aeolus/client/provider.rb#L6-L31
Link is no longer valid after renaming of files.
Here is new one - https://github.com/aeolus-incubator/thor-cli/blob/master/lib/aeolus/client/provider.rb#L6-L31
A lot of the XML decode methods [1] will probably repeat itself across models, so we could extract it as common behavior.
[1] https://github.com/aeolus-incubator/thor-cli/blob/master/lib/aeolus_cli/model/provider.rb#L4-L29
EDIT after pblaho's comment:
Here's a permalink: https://github.com/aeolus-incubator/thor-cli/blob/e7b65db7573dea8fafd5d182d9ff06ef1c695b1b/lib/aeolus/client/provider.rb#L6-L31