Sha256: a34d2f7af569a6c305f3a30c9daaac6f39632f19498e9d23c51d3f7c8bc66532

Contents?: true

Size: 587 Bytes

Versions: 2

Compression:

Stored size: 587 Bytes

Contents

# HorizonClient

Client to use with Horizon REST xml API.

## Usage

```ruby
client = HorizonClient.new

get_response = client.get('example')

post_response = client.post('example', 'post body')
```

`get_response` will be parsed from xml to hash.


### Necessary environment variables

* **HORIZON_REST_URL** e.x. http://user:pass@ip:port/rest. Note the "/rest" part

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
horizon_client-0.1.1 README.md
horizon_client-0.1.0 README.md