README.md in docbase-1.0.1 vs README.md in docbase-2.0.0

- old
+ new

@@ -24,25 +24,10 @@ ```ruby client = DocBase::Client.new(access_token: 'your_access_token', team: 'your_team') ``` -or - -```ruby -ENV['DOCBASE_ACCESS_TOKEN'] = 'your_access_token' - -client = DocBase::Client.new(team: 'your_team') -``` - -### teams - -```ruby -client.teams.body -# => [{ domain: 'kray', name: 'kray' }, { domain: 'danny', name: 'danny' }] -``` - ### users ```ruby client.users(q: 'name') client.users(q: 'name', page: 2) @@ -206,9 +191,10 @@ client = DocBase::Client.new(access_token: 'your_access_token', team: 'kray') client.tags.body # => [{ name: 'ruby' }, { name: 'rails' }] client.team = 'danny' +clinet.access_token = 'danny_team_access_token' client.tags.body # => [{ name: 'javascript' }, { name: 'react' }] ``` ## API Document