Skip to content

Commit

Permalink
Add english reference url
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Jan 11, 2018
1 parent 881f250 commit 4937fcd
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/chatwork/contacts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Contacts
# Get the list of your contacts
#
# @see http://developer.chatwork.com/ja/endpoint_contacts.html#GET-contacts
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @return [Array<Hash>]
#
Expand Down
2 changes: 2 additions & 0 deletions lib/chatwork/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module File
# @param account_id [Integer]
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms-room_id-files
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @return [Array<Hash>]
#
Expand All @@ -33,6 +34,7 @@ def self.get(room_id:, account_id:)
# Get information about the specified file
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms-room_id-files-file_id
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param file_id [Integer]
Expand Down
3 changes: 3 additions & 0 deletions lib/chatwork/incoming_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module IncomingRequest
# (*This method returns up to 100 entries. We are planning to implement pagination to support larger number of data retrieval)
#
# @see http://developer.chatwork.com/ja/endpoint_incoming_requests.html#GET-incoming_requests
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @return [Array<Hash>]
#
Expand All @@ -31,6 +32,7 @@ def self.get
# You can approve a contact approval request you received
#
# @see http://developer.chatwork.com/ja/endpoint_incoming_requests.html#PUT-incoming_requests-request_id
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param request_id [Integer]
#
Expand All @@ -54,6 +56,7 @@ def self.update(request_id:)
# You can decline a contact approval request you received
#
# @see http://developer.chatwork.com/ja/endpoint_incoming_requests.html#DELETE-incoming_requests-request_id
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param request_id [Integer]
def self.destroy(request_id:)
Expand Down
1 change: 1 addition & 0 deletions lib/chatwork/me.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Me
# Get your account information
#
# @see http://developer.chatwork.com/ja/endpoint_me.html#GET-me
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @return [Hash]
#
Expand Down
2 changes: 2 additions & 0 deletions lib/chatwork/member.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Member
# Get the list of all chat members associated with the specified chat
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms-room_id-members
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
#
Expand All @@ -30,6 +31,7 @@ def self.get(room_id:)
# Change associated members of group chat at once
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#PUT-rooms-room_id-members
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param members_admin_ids [Array<Integer>, String] List of user IDs who will be given administrator permission for the group chat.
Expand Down
7 changes: 7 additions & 0 deletions lib/chatwork/message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module Message
# If the parameter is not set, it returns the next 100 entries from previous call.
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms-room_id-messages
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param force [Boolean, Integer] Flag which forces to get 100 newest entries regardless of previous calls.
Expand Down Expand Up @@ -34,6 +35,7 @@ def self.get(room_id:, force: nil)
# Add new message to the chat
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#POST-rooms-room_id-messages
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param body [String] message body
Expand All @@ -51,6 +53,7 @@ def self.create(room_id:, body:)
# Mark messages as read
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#PUT-rooms-room_id-messages-read
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param message_id [String]
Expand All @@ -69,6 +72,7 @@ def self.read(room_id:, message_id: nil)
# Mark messages as unread
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#PUT-rooms-room_id-messages-unread
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param message_id [String]
Expand All @@ -87,6 +91,7 @@ def self.unread(room_id:, message_id:)
# Get information about the specified message
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms-room_id-messages-message_id
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param message_id [String]
Expand All @@ -112,6 +117,7 @@ def self.find(room_id:, message_id:)
# Update the specified message
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#PUT-rooms-room_id-messages-message_id
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param message_id [String]
Expand All @@ -130,6 +136,7 @@ def self.update(room_id:, message_id:, body:)
# Destroy the specified message
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#PUT-rooms-room_id-messages-message_id
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param message_id [String]
Expand Down
1 change: 1 addition & 0 deletions lib/chatwork/my_status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module MyStatus
# Get the number of: unread messages, unread To messages, and unfinished tasks.
#
# @see http://developer.chatwork.com/ja/endpoint_my.html#GET-my-status
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @return [Hash]
#
Expand Down
1 change: 1 addition & 0 deletions lib/chatwork/my_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module MyTask
# (*This method returns up to 100 entries. We are planning to implement pagination to support larger number of data retrieval)
#
# @see http://developer.chatwork.com/ja/endpoint_my.html#GET-my-tasks
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param assigned_by_account_id [Integer] Account ID of the person who assigned task
# @param status [String] Task status (open, done)
Expand Down
5 changes: 5 additions & 0 deletions lib/chatwork/room.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Room
# Get the list of all chats on your account
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @return [Array<Hash>]
#
Expand Down Expand Up @@ -35,6 +36,7 @@ def self.get
# Create a new group chat
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#POST-rooms
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param description [String] Description of the group chat
# @param icon_preset [String] Type of the group chat icon (group, check, document, meeting, event, project, business,
Expand Down Expand Up @@ -69,6 +71,7 @@ def self.create(description: nil, icon_preset: nil, members_admin_ids:, members_
# Get chat name, icon, and Type (my, direct, or group)
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms-room_id
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
#
Expand Down Expand Up @@ -98,6 +101,7 @@ def self.find(room_id:)
# Change the title and icon type of the specified chat
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#PUT-rooms-room_id
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param description [String] Description of the group chat
Expand All @@ -111,6 +115,7 @@ def self.update(room_id:, description: nil, icon_preset: nil, name: nil)
# Leave/Delete a group chat
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#DELETE-rooms-room_id
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param action_type [String] leave from a room or delete a room (leave, delete)
Expand Down
3 changes: 3 additions & 0 deletions lib/chatwork/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module Task
# (*This method returns up to 100 entries. We are planning to implement pagination to support larger number of data retrieval)
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms-room_id-tasks
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param account_id [Integer]
Expand Down Expand Up @@ -42,6 +43,7 @@ def self.get(room_id:, account_id:, assigned_by_account_id: nil, status: nil)
# Add a new task to the chat
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#POST-rooms-room_id-tasks
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param body [String] Task description
Expand All @@ -67,6 +69,7 @@ def self.create(room_id:, body:, to_ids:, limit: nil)
# Get information about the specified task
#
# @see http://developer.chatwork.com/ja/endpoint_rooms.html#GET-rooms-room_id-tasks-task_id
# @see http://download.chatwork.com/ChatWork_API_Documentation.pdf
#
# @param room_id [Integer]
# @param task_id [Integer]
Expand Down

0 comments on commit 4937fcd

Please sign in to comment.