Method: OSDNClient::Configuration#api_key_with_prefix
- Defined in:
- lib/osdn-client/configuration.rb
permalink #api_key_with_prefix(param_name) ⇒ Object
Gets API key (with prefix if set).
188 189 190 191 192 193 194 |
# File 'lib/osdn-client/configuration.rb', line 188 def api_key_with_prefix(param_name) if @api_key_prefix[param_name] "#{@api_key_prefix[param_name]} #{@api_key[param_name]}" else @api_key[param_name] end end |