Skip to content

Commit

Permalink
Added basic client usage in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Cheal committed Aug 25, 2016
1 parent abd51fe commit efe8a5e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Expand Up @@ -24,7 +24,21 @@ Or install it yourself as:

## Usage

TODO: Write usage instructions here
To get basic information from the virtual appliance

```ruby
require 'xclarity_client'

conf = XClarityClient::Configuration.new(
:username => 'admin',
:password => 'pass',
:host => 'http://example.com'
)

virtual_appliance = XClarityClient::VirtualApplianceManagement.new(conf)

puts virtual_appliance.configuration_settings
```

## Development

Expand Down

0 comments on commit efe8a5e

Please sign in to comment.