README.md in omniauth-tanita-0.2.1 vs README.md in omniauth-tanita-0.2.2
- old
+ new
@@ -2,18 +2,16 @@
[](http://badge.fury.io/rb/omniauth-tanita)
This gem contains the Tanita Health Planet strategy for OmniAuth.
-
## Before You Begin
You should have already installed OmniAuth into your app; if not, read the [OmniAuth README](https://github.com/intridea/omniauth) to get started.
Now sign into the [Health Planet API Settings page](https://www.healthplanet.jp/apis_account.do) and create an application. Take note of your API keys.
-
## Using This Strategy
First start by adding this gem to your Gemfile:
```ruby
@@ -31,11 +29,11 @@
```ruby
Rails.application.config.middleware.use OmniAuth::Builder do
provider :tanita, "API_KEY", "API_SECRET"
end
```
-Replace `"API_KEY"` and `"API_SECRET"` with the appropriate values you obtained [earlier](https://www.healthplanet.jp/apis_account.do).
+Replace `"API_KEY"` and `"API_SECRET"` with the appropriate values you obtained [earlier](https://www.healthplanet.jp/apis_account.do).
## Scopes
The default scope is "innerscan".
If you use other scope, you can specify like so: