README.md in omniauth-drchrono-oauth2-1.1.0 vs README.md in omniauth-drchrono-oauth2-1.2.0

- old
+ new

@@ -1,8 +1,9 @@ # OmniAuth DrChrono OAuth2 Strategy [![Build Status](https://travis-ci.org/bartimaeus/omniauth-drchrono-oauth2.svg?branch=master)](https://travis-ci.org/bartimaeus/omniauth-drchrono-oauth2) +[![Gem Version](https://badge.fury.io/rb/omniauth-drchrono-oauth2.svg)](https://badge.fury.io/rb/omniauth-drchrono-oauth2) A DrChrono OAuth2 strategy for OmniAuth. For more details, read the DrChrono documentation: https://www.drchrono.com/api/ @@ -28,11 +29,11 @@ This is an example that you might put into a Rails initializer at `config/initializers/omniauth.rb`: ```ruby Rails.application.config.middleware.use OmniAuth::Builder do - provider :drchrono, ENV['DRCHRONO_CLIENT_ID'], ENV['DRCHRONO_CLIENT_SECRET'], :scope => 'user:read patients:read patients:summary:read' + provider :drchrono, ENV['DRCHRONO_CLIENT_ID'], ENV['DRCHRONO_CLIENT_SECRET'], :scope => 'patients:read settings:read user:read' end ``` You can now access the OmniAuth DrChrono OAuth2 URL: `/auth/drchrono`. @@ -42,10 +43,10 @@ For more details, read the DrChrono documentation: https://www.drchrono.com/api/ You can configure the scope option: ```ruby -provider :drchrono, ENV['DRCHRONO_CLIENT_ID'], ENV['DRCHRONO_CLIENT_SECRET'], :scope => 'user:read' +provider :drchrono, ENV['DRCHRONO_CLIENT_ID'], ENV['DRCHRONO_CLIENT_SECRET'], :scope => 'settings:read user:read' ``` ## Contributing 1. Fork it