Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
snikch committed Feb 18, 2014
1 parent 43ccbcb commit b70fa53
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@ Or install it yourself as:

## Usage

### Basic Auth and Oauth Support
Authentication defaults to Basic Auth. You can switch to Oauth by adding the following code to an initializer.

```ruby
# config/vending_machine.rb
Vend.config do |config|
config.auth_method = :oauth # defaults to :basic_auth
end

```

### Get a store instance

All usage revolves around your store, as per Vend itself
Expand Down

0 comments on commit b70fa53

Please sign in to comment.