README.md in slack-notification-0.1.7 vs README.md in slack-notification-0.1.8

- old
+ new

@@ -27,17 +27,17 @@ ## Usage ```ruby SlackNotification.new( - channel: 'channel-name-here', type: :success, title: 'Something Happened', - fallback: "Plain-text version of the message.", - fields: [ + channel: 'channel-name-here', type: :success, title: 'Something Happened', + fallback: "Plain-text version of the message.", + fields: [ { title: 'Field one', value: value_one, short: true }, { title: 'Field two', value: value_two, short: true }, { title: 'Longer field that needs more space.', value: value_three, short: false } - ] + ] ).notify! ``` Options: @@ -64,10 +64,10 @@ ### Configuration Channels can be made available by setting ENV variables beginning with `SLACK_URL_`. -If you are using Rails credentials, the `:slack` will take priority over ENV variables, if present. +If you are using Rails credentials, `.slack` will take priority over ENV variables, if present. The title field will default to `ENV['SLACK_DEFAULT_TITLE']`, if present. ## License