Skip to content

Commit

Permalink
add friendship_status readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rickygu authored Oct 16, 2017
1 parent c432522 commit 9f2b605
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ remove friendship to the one that initially blocked it.
```ruby
# Check if there is an accepted friendship between @mac and @dee
@mac.friends_with?(@dee)

# Check the status between two friends
@mac.friendship_status(@dee) # => "pending"

```

### Type of friends
Expand Down

0 comments on commit 9f2b605

Please sign in to comment.