README.md in f5-icontrol-0.1.5 vs README.md in f5-icontrol-0.1.6
- old
+ new
@@ -46,9 +46,23 @@
```Ruby
api = F5::Icontrol::API.new
response = api.LocalLB.Pool.get_list
```
+or You can configure per api client.
+
+```Ruby
+api = F5::Icontrol::API.new(
+ nil, # This first argument `nil` is required.
+ {
+ host: "hostname.of.bigip",
+ username: "username",
+ password: "password",
+ }
+)
+response = api.LocalLB.Pool.get_list
+```
+
See specs subdir for more examples, especially as it pertains to passing parameters.
## CLI
There's a command line version that's still being roughed out. You'll need a `~/.f5.yml` file containing your login information: