Skip to content

Commit

Permalink
add example of authentication header to the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vlewin committed Jun 12, 2014
1 parent 48fba57 commit 97843c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/suse/connect/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def initialize(client)
# @note https://github.com/SUSE/connect/wiki/SCC-API-(Implemented)#wiki-announce-system
#
# @param auth [String] authorization string which will be injected in 'Authorization' header in request.
# In this case we expect Token authentication where token is a registration code.
# In this case we expect Token authentication where token is a registration code e.g. 'Token token=<REGCODE>'
# @return [OpenStruct] responding to #body(response from SCC), #code(natural HTTP response code) and #success.
#
def announce_system(auth, distro_target = nil)
Expand Down

0 comments on commit 97843c5

Please sign in to comment.