Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added scope helper methods to Switch resource #186

Merged
merged 1 commit into from
Feb 21, 2017

Conversation

ricardogpsf
Copy link
Member

Description

Added scope helper methods to Switch resource: add_scope, remove_scope and replace_scopes.

Issues Resolved

Fixes #146

Check List

  • New functionality includes testing.
    • All tests pass ($ rake test).
  • New functionality has been documented in the README if applicable.
    • New functionality has been thoroughly documented in the examples (please include helpful comments).
  • Changes are documented in the CHANGELOG.


module OneviewSDK
module API300
module C7000
# Switch resource implementation
class Switch < OneviewSDK::API200::Switch
include OneviewSDK::API300::C7000::Scope::ScopeHelperMethods
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm just concerned with the namespace this Mixin is inserted. Maybe this is not the best place to declare it, but I think it's not this PRs concern right now.

Copy link
Member Author

Choose a reason for hiding this comment

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

ok. We could maintain it in our radar and open other issue after.

@ricardogpsf ricardogpsf merged commit 596bf75 into master Feb 21, 2017
@jsmartt jsmartt deleted the added_scope_helper_methods_to_switch_resource branch February 21, 2017 17:35
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.

None yet

2 participants