Skip to content

Commit 5da8ba0

Browse files
committed
Change emojis api to use new parser. Update docs.
1 parent c7012c0 commit 5da8ba0

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

features/emojis.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Feature: Emojis API
22

33
Background:
4-
Given I have "Github::Emojis" instance
4+
Given I have "Github::Client::Emojis" instance
55

66
Scenario: List
77

lib/github_api/client/emojis.rb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
# encoding: utf-8
22

33
module Github
4-
class Emojis < API
5-
6-
# lists all the emojis.
7-
#
8-
# = Examples
4+
class Client::Emojis < API
5+
# Lists all the emojis.
96
#
10-
# Github.emojis.list
7+
# @example
8+
# Github.emojis.list
119
#
10+
# @api public
1211
def list(*args)
1312
arguments(args)
1413

1514
get_request("/emojis", arguments.params)
1615
end
17-
end # Emojis
16+
end # Client::Emojis
1817
end # Github

0 commit comments

Comments
 (0)