docs/Ruby-API.md in oxidized-0.29.0 vs docs/Ruby-API.md in oxidized-0.29.1

- old
+ new

@@ -6,16 +6,18 @@ * gets config from nodes * must implement 'connect', 'get', 'cmd' * 'ssh', 'telnet', 'ftp', 'tftp', 'http' implemented -#### http - * Communicates with a device over http/https - * Configurable variables from within model @username, @password, @headers. - * @username,@password are used in a Basic Authentication method. - * @headers is a Hash of key value pairs of headers to pass along with the request. - * Within the sources config under input you define a YAML stanza like the below, this will tell Oxidized to validate certificates on the request +### http + +* Communicates with a device over http/https +* Configurable variables from within model @username, @password, @headers. +* @username,@password are used in a Basic Authentication method. +* @headers is a Hash of key value pairs of headers to pass along with the request. +* Within the sources config under input you define a YAML stanza like the below, this will tell Oxidized to validate certificates on the request + ```yaml input: http: ssl_verify: true ``` @@ -175,13 +177,15 @@ #### `prepend: true` Ensures that the contents of the block are prepended, rather than appended (the default) to an existing block. -### `String` convenience methods +### Refinements +#### `String` convenience methods + Since configuration processing tasks are occasionally similar across models, -Oxidized provides an extended [`String`](/lib/oxidized/string.rb) class with the +Oxidized provides an refined [`String`](../lib/refinements.rb) class with the intention of providing convenience methods and eliminating code duplication. #### `cut_tail` Returns a multi-line string without the last line, or an empty string if only a