summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2014-05-30 15:04:38 +0100
committergebele <gebele@in-silico.ch>2014-05-30 15:04:38 +0100
commit24a37b79be1b688e1692f06abc01d096ce80b68e (patch)
tree2dc1b8556b3e81acbfcbbc58d8a42d62d68b8dcc
parent6bcfe8099906ad6a2041ac258cb81c232c6f4159 (diff)
parentb399e6c349e4cc6b5cc88991349eb1e180336721 (diff)
Merge branch 'development' of github.com:opentox/opentox-client into developmenttb2.1.0
-rw-r--r--.yardopts4
-rw-r--r--README.md (renamed from README.markdown)9
-rw-r--r--lib/authorization.rb2
3 files changed, 10 insertions, 5 deletions
diff --git a/.yardopts b/.yardopts
new file mode 100644
index 0000000..cef1332
--- /dev/null
+++ b/.yardopts
@@ -0,0 +1,4 @@
+--readme README
+--title 'Thin Ruby wrapper for the OpenTox REST API'
+--charset utf-8
+yardoc lib/*.rb - README ChangeLog VERSION LICENSE
diff --git a/README.markdown b/README.md
index 47f9c70..91889ec 100644
--- a/README.markdown
+++ b/README.md
@@ -28,10 +28,11 @@ Installation
gem install opentox-client
-[API documentation](http://rdoc.info/gems/opentox-client)
--------------------------------------------------------------------
+Documentation
+-------------
+* [API documentation](http://rdoc.info/gems/opentox-client)
+* [RubyDoc.info Code documentation](http://rubydoc.info/github/opentox/opentox-client/development/frames)
Copyright
---------
-
-Copyright (c) 2009-2012 Christoph Helma, Martin Guetlein, Micha Rautenberg, Andreas Maunz, David Vorgrimmler, Denis Gebele. See LICENSE for details.
+Copyright (c) 2009-2014 Christoph Helma, Martin Guetlein, Micha Rautenberg, Andreas Maunz, David Vorgrimmler, Denis Gebele. See LICENSE for details.
diff --git a/lib/authorization.rb b/lib/authorization.rb
index 3884d8e..0502b37 100644
--- a/lib/authorization.rb
+++ b/lib/authorization.rb
@@ -64,7 +64,7 @@ module OpenTox
#Authentication against OpenSSO. Returns token. Requires Username and Password.
# @param user [String] Username
# @param pw [String] Password
- # @return [String, nil] gives subjectid or nil
+ # @return [Boolean] true if successful
def self.authenticate(user, pw)
return nil if !AA
begin