Method: RHC::Rest::Client#api
- Defined in:
- lib/rhc/rest/client.rb
#api ⇒ Object
362 363 364 365 366 |
# File 'lib/rhc/rest/client.rb', line 362 def api @api ||= RHC::Rest::Api.new(self, @preferred_api_versions).tap do |api| self.current_api_version = api.api_version_negotiated end end |