Skip to content

Commit

Permalink
Merge pull request #37 from asonas/feature/fix_typo
Browse files Browse the repository at this point in the history
Tweak yard doc
  • Loading branch information
sue445 authored Jan 12, 2018
2 parents 9688a0b + cbd52be commit ec7e79f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chatwork/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def self.get(room_id:, account_id:)
# @param create_download_url [Boolean] whether or not to create a download link.
# If set to true, download like will be created for 30 seconds
#
# @return [Array<Hashie::Mash>]
# @return [Hashie::Mash]
#
# @example response format
# {
Expand Down
7 changes: 7 additions & 0 deletions lib/chatwork/room.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ def self.find(room_id:)
# @param icon_preset [String] Type of the group chat icon (group, check, document, meeting, event, project, business,
# study, security, star, idea, heart, magcup, beer, music, sports, travel)
# @param name [String] Title of the group chat.
#
# @return [Hashie::Mash]
#
# @example response format
# {
# "room_id": 1234
# }
def self.update(room_id:, description: nil, icon_preset: nil, name: nil)
_put("/rooms/#{room_id}", description: description, icon_preset: icon_preset, name: name)
end
Expand Down

0 comments on commit ec7e79f

Please sign in to comment.