Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Pass an optional hash to RHC::Rest::Commands::Base#rest_client so that the command can demand a minium REST API version #200

Conversation

BanzaiMan
Copy link
Contributor

Specifically,

rest_client(:at_least => 1.2) ensures that the REST Client returned is at a minimum version 1.2. If the Client cannot guarantee the desired version, ::RHC::APIVersionRequirementNotMetException is thrown.

This addresses https://bugzilla.redhat.com/show_bug.cgi?id=867706.

@smarterclayton
Copy link
Contributor

Hold up on this until 199 pull request is fixed

@openshift-bot
Copy link

Action Required: Pull request cannot be automatically merged

@BanzaiMan
Copy link
Contributor Author

Closing this one, since we decided to put off work on removing the global variable for now.

@BanzaiMan BanzaiMan closed this Nov 9, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants