Skip to content

Commit

Permalink
making 'list' method explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
cxz committed Aug 21, 2013
1 parent a61bd75 commit 85928b7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ end
**List all agents**

```ruby
@livechat.agents # all agents
@livechat.agents.each {|user| ..code.. } # iterate over requested agents
@livechat.agents.list # all agents
@livechat.agents.each {|a| ..code.. } # iterate over requested agents
```

**Get a single agent details**
Expand Down Expand Up @@ -82,7 +82,7 @@ end

**List all canned responses**
```ruby
@livechat.canned_responses
@livechat.canned_responses.list
```

**Get a single canned response**
Expand Down Expand Up @@ -117,7 +117,7 @@ end

**Get list of chats**
```ruby
@livechat.chats
@livechat.chats.list
```

**Get single chat**
Expand All @@ -137,7 +137,7 @@ end

**List all goals**
```ruby
@livechat.goals
@livechat.goals.list
```

**Get a single goal details**
Expand Down Expand Up @@ -177,7 +177,7 @@ end

**List all groups**
```ruby
@livechat.groups
@livechat.groups.list
```

**Get a single group details**
Expand Down Expand Up @@ -279,7 +279,7 @@ end

**List all visitors**
```ruby
@livechat.visitors
@livechat.visitors.list
```

**List only chatting visitors**
Expand Down

0 comments on commit 85928b7

Please sign in to comment.