Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ At this stage you can also supply various configuration parameters, such as `:us
bitbucket = BitBucket.new oauth_token: 'request_token', oauth_secret: 'request_secret'
```

or for OAuth2:

```ruby
bitbucket = BitBucket.new new_access_token: 'oauth2_access_token'
```

Alternatively, you can configure the BitBucket settings by passing a block:

```ruby
Expand Down