Method: Interpol::Configuration#api_version
- Defined in:
- lib/interpol/configuration.rb
#api_version(version = nil, &block) ⇒ Object
90 91 92 93 94 95 96 97 |
# File 'lib/interpol/configuration.rb', line 90 def api_version(version=nil, &block) warn "WARNING: Interpol's #api_version config option is deprecated. " + "Instead, use separate #request_version and #response_version " + "config options." request_version(version, &block) response_version(version, &block) end |