Module: Koha

Defined in:
lib/koha.rb,
lib/koha/version.rb

Defined Under Namespace

Modules: Biblio, Error, Info, Uri, User Classes: Client, Connection

Constant Summary collapse

VERSION =
"0.0.4"
CHANGELOG =
"  IMPORTANT CHANGES LATELY:\n"

Class Method Summary collapse

Class Method Details

.connect(url = 'http://localhost/cgi-bin/koha/rest.pl/', *args) ⇒ Object



15
16
17
18
19
# File 'lib/koha.rb', line 15

def connect url = 'http://localhost/cgi-bin/koha/rest.pl/', *args
  opts = Hash === args[-1] ? args[-1] : {}
  opts[:url] = url
  Client.new  Koha::Connection.new, opts
end

.versionObject



13
# File 'lib/koha.rb', line 13

def version; VERSION end