Sha256: ae94d19227b7a36462392bc7b50fa8972d2e55867c1f93672796fde8d6993d2b
Contents?: true
Size: 1.73 KB
Versions: 6
Compression:
Stored size: 1.73 KB
Contents
The Pho ruby module provides a lightweight Ruby client library for interacting with the Talis Platform API (http://n2.talis.com/wiki/Platform_API). == Author Leigh Dodds (leigh.dodds@talis.com) == Download The latest version of this library can be downloaded from: http://pho.rubyforge.net == Usage To use Pho you can: require 'pho' And then create an instance of the appropriate class, e.g Store: store = Pho::Store.new("http://api.talis.com/testing", "user", "pass") response = store.describe("http://www.example.org") For more detailed examples consult the documentation for the Store class == Control over HTTP interactions Pho is dependent on the HTTPClient module and all HTTP interactions are delegated to an instance of the HTTPClient class. In circumstances where greater control over the HTTP interaction is required, e.g. to configure proxy servers, etc, an existing instance of this class can be provided, e.g: client = HTTPClient.new => configure client as required store = Pho::Store.new("http://api.talis.com/testing", "user", "pass", client) => pass instance of client as parameter response = store.describe("http://www.example.org") == License Copyright 2009 Leigh Dodds Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
pho-0.0.1 | README |
pho-0.1 | README |
pho-0.2 | README |
pho-0.3 | README |
pho-0.4 | README |
pho-0.4.1 | README |