Skip to content

Conversation

bdunne
Copy link
Member

@bdunne bdunne commented Aug 7, 2013

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling fa1bef9 on brandondunne:refactor_and_add_SubscriptionManager_list_orgs into 6e93d41 on ManageIQ:master.

@bdunne
Copy link
Member Author

bdunne commented Aug 7, 2013

@chessbyte I agree and have renamed the method

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling 0b8e7f5 on brandondunne:refactor_and_add_SubscriptionManager_list_orgs into 6e93d41 on ManageIQ:master.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could just be an index_by call...

processed_data.index_by { |d| d[index_key] }

which means you probably don't need a whole method, since the callers will be clear enough.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling d1515d5 on brandondunne:refactor_and_add_SubscriptionManager_list_orgs into aeba1f0 on ManageIQ:master.

@bdunne
Copy link
Member Author

bdunne commented Aug 7, 2013

@Fryguy I removed the indexing method and used index_by, moved command into #organizations, and renamed #parse_output as suggested

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling d1515d5 on brandondunne:refactor_and_add_SubscriptionManager_list_orgs into aeba1f0 on ManageIQ:master.

Fryguy added a commit that referenced this pull request Aug 8, 2013
…nManager_list_orgs

Refactor and add SubscriptionManager.organizations
@Fryguy Fryguy merged commit 214a622 into ManageIQ:master Aug 8, 2013
@bdunne bdunne deleted the refactor_and_add_SubscriptionManager_list_orgs branch August 8, 2013 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants