brick_ftp 1.0.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.github/action/publish_gem/Dockerfile +14 -0
  3. data/.github/action/publish_gem/entrypoint.sh +18 -0
  4. data/.github/action/write_github_release/Dockerfile +14 -0
  5. data/.github/action/write_github_release/entrypoint.sh +48 -0
  6. data/.github/main.workflow +14 -0
  7. data/CHANGELOG.md +17 -2
  8. data/README.md +2 -2
  9. data/lib/brick_ftp.rb +1 -1
  10. data/lib/brick_ftp/restful_api.rb +11 -11
  11. data/lib/brick_ftp/restful_api/add_group_member.rb +1 -1
  12. data/lib/brick_ftp/restful_api/client.rb +2 -2
  13. data/lib/brick_ftp/restful_api/complete_upload.rb +1 -1
  14. data/lib/brick_ftp/restful_api/continue_upload.rb +1 -1
  15. data/lib/brick_ftp/restful_api/copy_folder.rb +1 -1
  16. data/lib/brick_ftp/restful_api/count_folder_contents.rb +2 -2
  17. data/lib/brick_ftp/restful_api/count_users.rb +1 -1
  18. data/lib/brick_ftp/restful_api/create_api_key.rb +1 -1
  19. data/lib/brick_ftp/restful_api/create_behavior.rb +1 -1
  20. data/lib/brick_ftp/restful_api/create_bundle.rb +1 -1
  21. data/lib/brick_ftp/restful_api/create_folder.rb +1 -1
  22. data/lib/brick_ftp/restful_api/create_group.rb +1 -1
  23. data/lib/brick_ftp/restful_api/create_notification.rb +1 -1
  24. data/lib/brick_ftp/restful_api/create_permission.rb +1 -1
  25. data/lib/brick_ftp/restful_api/create_public_key.rb +1 -1
  26. data/lib/brick_ftp/restful_api/create_user.rb +1 -1
  27. data/lib/brick_ftp/restful_api/create_user_in_group.rb +1 -1
  28. data/lib/brick_ftp/restful_api/delete_api_key.rb +1 -1
  29. data/lib/brick_ftp/restful_api/delete_behavior.rb +1 -1
  30. data/lib/brick_ftp/restful_api/delete_bundle.rb +1 -1
  31. data/lib/brick_ftp/restful_api/delete_folder.rb +1 -1
  32. data/lib/brick_ftp/restful_api/delete_group.rb +1 -1
  33. data/lib/brick_ftp/restful_api/delete_notification.rb +1 -1
  34. data/lib/brick_ftp/restful_api/delete_permission.rb +1 -1
  35. data/lib/brick_ftp/restful_api/delete_public_key.rb +1 -1
  36. data/lib/brick_ftp/restful_api/delete_user.rb +1 -1
  37. data/lib/brick_ftp/restful_api/download_file.rb +1 -1
  38. data/lib/brick_ftp/restful_api/get_api_key.rb +1 -1
  39. data/lib/brick_ftp/restful_api/get_behavior.rb +1 -1
  40. data/lib/brick_ftp/restful_api/get_bundle.rb +1 -1
  41. data/lib/brick_ftp/restful_api/get_bundle_zip.rb +1 -1
  42. data/lib/brick_ftp/restful_api/get_file_in_bundle.rb +1 -1
  43. data/lib/brick_ftp/restful_api/get_folder_size.rb +1 -1
  44. data/lib/brick_ftp/restful_api/get_group.rb +1 -1
  45. data/lib/brick_ftp/restful_api/get_public_key.rb +1 -1
  46. data/lib/brick_ftp/restful_api/get_user.rb +1 -1
  47. data/lib/brick_ftp/restful_api/list_api_keys.rb +1 -1
  48. data/lib/brick_ftp/restful_api/list_behaviors.rb +1 -1
  49. data/lib/brick_ftp/restful_api/list_bundle_contents.rb +1 -1
  50. data/lib/brick_ftp/restful_api/list_bundles.rb +1 -1
  51. data/lib/brick_ftp/restful_api/list_folder_behaviors.rb +1 -1
  52. data/lib/brick_ftp/restful_api/list_folders.rb +1 -1
  53. data/lib/brick_ftp/restful_api/list_groups.rb +1 -1
  54. data/lib/brick_ftp/restful_api/list_notifications.rb +1 -1
  55. data/lib/brick_ftp/restful_api/list_permissions.rb +1 -1
  56. data/lib/brick_ftp/restful_api/list_public_keys.rb +1 -1
  57. data/lib/brick_ftp/restful_api/list_users.rb +1 -1
  58. data/lib/brick_ftp/restful_api/move_folder.rb +1 -1
  59. data/lib/brick_ftp/restful_api/remove_group_member.rb +1 -1
  60. data/lib/brick_ftp/restful_api/retrieve_file_history.rb +1 -1
  61. data/lib/brick_ftp/restful_api/retrieve_folder_history.rb +1 -1
  62. data/lib/brick_ftp/restful_api/retrieve_login_history.rb +1 -1
  63. data/lib/brick_ftp/restful_api/retrieve_site_history.rb +1 -1
  64. data/lib/brick_ftp/restful_api/retrieve_user_history.rb +1 -1
  65. data/lib/brick_ftp/restful_api/search_user.rb +1 -1
  66. data/lib/brick_ftp/restful_api/start_upload.rb +1 -1
  67. data/lib/brick_ftp/restful_api/unlock_user.rb +1 -1
  68. data/lib/brick_ftp/restful_api/update_behavior.rb +1 -1
  69. data/lib/brick_ftp/restful_api/update_group.rb +1 -1
  70. data/lib/brick_ftp/restful_api/update_group_member.rb +1 -1
  71. data/lib/brick_ftp/restful_api/update_user.rb +1 -1
  72. data/lib/brick_ftp/restful_api/upload_file.rb +4 -4
  73. data/lib/brick_ftp/types/behavior.rb +1 -1
  74. data/lib/brick_ftp/types/bundle.rb +1 -1
  75. data/lib/brick_ftp/types/bundle_content.rb +1 -1
  76. data/lib/brick_ftp/types/bundle_zip.rb +1 -1
  77. data/lib/brick_ftp/types/file.rb +1 -1
  78. data/lib/brick_ftp/types/file_in_bundle.rb +1 -1
  79. data/lib/brick_ftp/types/folder_contents_count.rb +2 -2
  80. data/lib/brick_ftp/types/group.rb +1 -1
  81. data/lib/brick_ftp/types/group_membership.rb +1 -1
  82. data/lib/brick_ftp/types/history.rb +1 -1
  83. data/lib/brick_ftp/types/notification.rb +1 -1
  84. data/lib/brick_ftp/types/permission.rb +1 -1
  85. data/lib/brick_ftp/types/upload.rb +1 -1
  86. data/lib/brick_ftp/types/user.rb +1 -1
  87. data/lib/brick_ftp/types/user_api_key.rb +1 -1
  88. data/lib/brick_ftp/types/user_public_key.rb +1 -1
  89. data/lib/brick_ftp/version.rb +1 -1
  90. metadata +8 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2af4ecd34af05635eded73b60b31e50f5be2bae550a35645d2ba6f907f922b8
4
- data.tar.gz: b5e74f1754ed1ae26b2cf8dfb281c9c6ced3b3552237e5f486218663e22876fc
3
+ metadata.gz: 742d808ea0faafa27e7447766e96f3ed29accafeb125802b9760c289d2b08252
4
+ data.tar.gz: c723a9c56a9e19ef1bf1d1781afd1a41d26ebe0aa97c168fe7e51f0613ebd02c
5
5
  SHA512:
6
- metadata.gz: 669f99de8bb45d74bc228590668eb01f62483345702cd4829212da5159d27c783ab37ae7c92186346b8a2643f06911bf40776a17b1a99f3faba86e890999b642
7
- data.tar.gz: 5dbeb251810e1b162345bd083f3ce8f39f124d3db43a26ce792f6cbb641a142e87725b726b7b3e24f97ba1f254452580332ac760c0b9787ce9fcd5827ba9bbcc
6
+ metadata.gz: 38c32e3356d422b54ca22d39d73145c766830fc4aec4ee22bc1cbb2da8af63f6a8fa009ed312a9651dfceac77e2aea1abd64d54e427f21a380968c4b80b9c26c
7
+ data.tar.gz: 4d4c8b7dbe080f6e097f759e0698bc67826abd106d3812ff3cde8af9dab1db039333251385e70532bdd28993611b4640818f615d5c300e2f8264c11f5096ef9c
@@ -0,0 +1,14 @@
1
+ FROM ruby:alpine
2
+ LABEL "com.github.actions.name"="Publish Gem"
3
+ LABEL "com.github.actions.description"="Publish gem to rubygems.org"
4
+ LABEL "com.github.actions.icon"="truck"
5
+ LABEL "com.github.actions.color"="green"
6
+ LABEL "repository"="https://github.com/koshigoe/brick_ftp"
7
+ LABEL "homepage"="https://github.com/koshigoe/brick_ftp"
8
+ LABEL "maintainer"="koshigoe <koshigoeb@gmail.com>"
9
+
10
+ RUN apk update -q \
11
+ && apk add -q --no-cache curl jq git
12
+
13
+ ADD entrypoint.sh /entrypoint.sh
14
+ ENTRYPOINT ["/entrypoint.sh"]
@@ -0,0 +1,18 @@
1
+ #!/bin/ash -eu
2
+
3
+ action=$(jq -r '.action' $GITHUB_EVENT_PATH)
4
+ if [ "$action" != "published" ]; then
5
+ exit 0
6
+ fi
7
+
8
+ cd $GITHUB_WORKSPACE
9
+
10
+ mkdir -p ~/.gem
11
+ cat <<EOF > ~/.gem/credentials
12
+ ---
13
+ :rubygems_api_key: $RUBYGEMS_TOKEN
14
+ EOF
15
+ chmod 0600 ~/.gem/credentials
16
+
17
+ gem build *.gemspec
18
+ gem push *.gem
@@ -0,0 +1,14 @@
1
+ FROM alpine:3.8
2
+ LABEL "com.github.actions.name"="Write GitHub Release"
3
+ LABEL "com.github.actions.description"="Write merged PRs into latest GitHub Release"
4
+ LABEL "com.github.actions.icon"="edit"
5
+ LABEL "com.github.actions.color"="blue"
6
+ LABEL "repository"="https://github.com/koshigoe/brick_ftp"
7
+ LABEL "homepage"="https://github.com/koshigoe/brick_ftp"
8
+ LABEL "maintainer"="koshigoe <koshigoeb@gmail.com>"
9
+
10
+ RUN apk update -q \
11
+ && apk add -q --no-cache curl jq
12
+
13
+ ADD entrypoint.sh /entrypoint.sh
14
+ ENTRYPOINT ["/entrypoint.sh"]
@@ -0,0 +1,48 @@
1
+ #!/bin/ash -eu
2
+
3
+ action=$(jq -r '.action' $GITHUB_EVENT_PATH)
4
+ if [ "$action" != "published" ]; then
5
+ exit 0
6
+ fi
7
+
8
+ # Get previous GitHub Release.
9
+ curl --fail -s \
10
+ -u $GITHUB_ACTOR:$GITHUB_TOKEN \
11
+ https://api.github.com/repos/$GITHUB_REPOSITORY/releases \
12
+ | jq -r '.[1]' \
13
+ > previous_release.json
14
+ previous_published_date=$(jq -r '.published_at' previous_release.json)
15
+
16
+ # Get latest published date.
17
+ latest_published_date=$(jq -r '.release.published_at' $GITHUB_EVENT_PATH)
18
+
19
+ # Get latest GitHub Release ID.
20
+ latest_release_id=$(jq -r '.release.id' $GITHUB_EVENT_PATH)
21
+
22
+ # Get merged PRs
23
+ merged_pr_list=$(
24
+ curl --fail -s \
25
+ -u $GITHUB_ACTOR:$GITHUB_TOKEN \
26
+ "https://api.github.com/search/issues?q=repo:${GITHUB_REPOSITORY}+is:pr+base:master+merged:${previous_published_date}..${latest_published_date}" \
27
+ | jq -r '.items[] | ["- #" + (.number | tostring) + " " + .title] | @tsv' \
28
+ | sort -k 3)
29
+
30
+ # Get comparable tags
31
+ previous_tag_name=$(jq -r '.tag_name' previous_release.json)
32
+ latest_tag_name=$(jq -r '.release.tag_name' $GITHUB_EVENT_PATH)
33
+
34
+ # Make release note.
35
+ release_note=$(cat <<EOF | sed ':a;N;$!ba;s/\n/\\n/g')
36
+ https://github.com/$GITHUB_REPOSITORY/compare/${previous_tag_name}...${latest_tag_name}
37
+
38
+ ### Merged
39
+
40
+ $merged_pr_list
41
+ EOF
42
+
43
+ # Update body of latest GitHub Release.
44
+ curl --fail -s \
45
+ -u $GITHUB_ACTOR:$GITHUB_TOKEN \
46
+ -X PATCH \
47
+ -d "{\"body\":\"${release_note}\"}" \
48
+ https://api.github.com/repos/$GITHUB_REPOSITORY/releases/$latest_release_id
@@ -0,0 +1,14 @@
1
+ workflow "Release" {
2
+ on = "release"
3
+ resolves = ["Write GitHub Release", "Publish Gem"]
4
+ }
5
+
6
+ action "Write GitHub Release" {
7
+ uses = "./.github/action/write_github_release"
8
+ secrets = ["GITHUB_TOKEN"]
9
+ }
10
+
11
+ action "Publish Gem" {
12
+ uses = "./.github/action/publish_gem"
13
+ secrets = ["GITHUB_TOKEN", "RUBYGEMS_TOKEN"]
14
+ }
@@ -2,10 +2,10 @@ Changelog
2
2
  ====
3
3
 
4
4
 
5
- [unreleased](https://github.com/koshigoe/brick_ftp/compare/v1.0.1...master)
5
+ [unreleased](https://github.com/koshigoe/brick_ftp/compare/v2.0.0...master)
6
6
  ----
7
7
 
8
- [Full Changelog](https://github.com/koshigoe/brick_ftp/compare/v1.0.1...master)
8
+ [Full Changelog](https://github.com/koshigoe/brick_ftp/compare/v2.0.0...master)
9
9
 
10
10
  ### Enhancements:
11
11
 
@@ -14,6 +14,21 @@ Changelog
14
14
  ### Breaking Changes:
15
15
 
16
16
 
17
+ [v2.0.0](https://github.com/koshigoe/brick_ftp/compare/v1.0.1...v2.0.0)
18
+ ----
19
+
20
+ [Full Changelog](https://github.com/koshigoe/brick_ftp/compare/v1.0.1...v2.0.0)
21
+
22
+ ### Enhancements:
23
+
24
+ - [#119](https://github.com/koshigoe/brick_ftp/pull/119) Change domain of API endpoint.
25
+ - _**Please check your SSL cert of new custom domain before update this gem.**_
26
+
27
+ ### Fixed Bugs:
28
+
29
+ ### Breaking Changes:
30
+
31
+
17
32
  [v1.0.1](https://github.com/koshigoe/brick_ftp/compare/v1.0.0...v1.0.1)
18
33
  ----
19
34
 
data/README.md CHANGED
@@ -2,10 +2,10 @@
2
2
  [![codecov](https://codecov.io/gh/koshigoe/brick_ftp/branch/master/graph/badge.svg)](https://codecov.io/gh/koshigoe/brick_ftp)
3
3
 
4
4
 
5
- BrickFTP
5
+ Files.com (BrickFTP)
6
6
  ====
7
7
 
8
- This is a [BrickFTP](https://brickftp.com/)'s _unofficial_ [RESTful API](https://developers.brickftp.com/) Client.
8
+ This is a [File.com (BrickFTP)](https://files.com/)'s _unofficial_ [RESTful API](https://developers.files.com/) Client.
9
9
 
10
10
 
11
11
  Installation
@@ -10,7 +10,7 @@ require 'brick_ftp/types/ignore_undefined_attributes'
10
10
  require 'brick_ftp/restful_api'
11
11
 
12
12
  module BrickFTP
13
- # https://brickftp.com/redundancy/
13
+ # https://files.com/redundancy/
14
14
  IP_ADDRESSES = %w[
15
15
  54.193.69.72
16
16
  54.193.69.200
@@ -5,7 +5,7 @@ module BrickFTP
5
5
  autoload :Client, 'brick_ftp/restful_api/client'
6
6
  autoload :Command, 'brick_ftp/restful_api/command'
7
7
  autoload :GetSiteUsage, 'brick_ftp/restful_api/get_site_usage'
8
- # ref. https://developers.brickftp.com/#users
8
+ # ref. https://developers.files.com/#users
9
9
  autoload :ListUsers, 'brick_ftp/restful_api/list_users'
10
10
  autoload :CountUsers, 'brick_ftp/restful_api/count_users'
11
11
  autoload :SearchUser, 'brick_ftp/restful_api/search_user'
@@ -14,17 +14,17 @@ module BrickFTP
14
14
  autoload :UpdateUser, 'brick_ftp/restful_api/update_user'
15
15
  autoload :DeleteUser, 'brick_ftp/restful_api/delete_user'
16
16
  autoload :UnlockUser, 'brick_ftp/restful_api/unlock_user'
17
- # ref. https://developers.brickftp.com/#user-api-keys
17
+ # ref. https://developers.files.com/#user-api-keys
18
18
  autoload :ListAPIKeys, 'brick_ftp/restful_api/list_api_keys'
19
19
  autoload :GetAPIKey, 'brick_ftp/restful_api/get_api_key'
20
20
  autoload :CreateAPIKey, 'brick_ftp/restful_api/create_api_key'
21
21
  autoload :DeleteAPIKey, 'brick_ftp/restful_api/delete_api_key'
22
- # ref. https://developers.brickftp.com/#user-public-keys
22
+ # ref. https://developers.files.com/#user-public-keys
23
23
  autoload :ListPublicKeys, 'brick_ftp/restful_api/list_public_keys'
24
24
  autoload :GetPublicKey, 'brick_ftp/restful_api/get_public_key'
25
25
  autoload :CreatePublicKey, 'brick_ftp/restful_api/create_public_key'
26
26
  autoload :DeletePublicKey, 'brick_ftp/restful_api/delete_public_key'
27
- # ref. https://developers.brickftp.com/#groups
27
+ # ref. https://developers.files.com/#groups
28
28
  autoload :ListGroups, 'brick_ftp/restful_api/list_groups'
29
29
  autoload :GetGroup, 'brick_ftp/restful_api/get_group'
30
30
  autoload :CreateGroup, 'brick_ftp/restful_api/create_group'
@@ -34,22 +34,22 @@ module BrickFTP
34
34
  autoload :AddGroupMember, 'brick_ftp/restful_api/add_group_member'
35
35
  autoload :UpdateGroupMember, 'brick_ftp/restful_api/update_group_member'
36
36
  autoload :RemoveGroupMember, 'brick_ftp/restful_api/remove_group_member'
37
- # ref. https://developers.brickftp.com/#permissions
37
+ # ref. https://developers.files.com/#permissions
38
38
  autoload :ListPermissions, 'brick_ftp/restful_api/list_permissions'
39
39
  autoload :CreatePermission, 'brick_ftp/restful_api/create_permission'
40
40
  autoload :DeletePermission, 'brick_ftp/restful_api/delete_permission'
41
- # ref. https://developers.brickftp.com/#notifications
41
+ # ref. https://developers.files.com/#notifications
42
42
  autoload :ListNotifications, 'brick_ftp/restful_api/list_notifications'
43
43
  autoload :CreateNotification, 'brick_ftp/restful_api/create_notification'
44
44
  autoload :DeleteNotification, 'brick_ftp/restful_api/delete_notification'
45
- # ref. https://developers.brickftp.com/#history
45
+ # ref. https://developers.files.com/#history
46
46
  autoload :RetrieveHistory, 'brick_ftp/restful_api/retrieve_history'
47
47
  autoload :RetrieveSiteHistory, 'brick_ftp/restful_api/retrieve_site_history'
48
48
  autoload :RetrieveLoginHistory, 'brick_ftp/restful_api/retrieve_login_history'
49
49
  autoload :RetrieveUserHistory, 'brick_ftp/restful_api/retrieve_user_history'
50
50
  autoload :RetrieveFolderHistory, 'brick_ftp/restful_api/retrieve_folder_history'
51
51
  autoload :RetrieveFileHistory, 'brick_ftp/restful_api/retrieve_file_history'
52
- # ref. https://developers.brickftp.com/#bundles
52
+ # ref. https://developers.files.com/#bundles
53
53
  autoload :ListBundles, 'brick_ftp/restful_api/list_bundles'
54
54
  autoload :GetBundle, 'brick_ftp/restful_api/get_bundle'
55
55
  autoload :CreateBundle, 'brick_ftp/restful_api/create_bundle'
@@ -57,14 +57,14 @@ module BrickFTP
57
57
  autoload :ListBundleContents, 'brick_ftp/restful_api/list_bundle_contents'
58
58
  autoload :GetFileInBundle, 'brick_ftp/restful_api/get_file_in_bundle'
59
59
  autoload :GetBundleZip, 'brick_ftp/restful_api/get_bundle_zip'
60
- # ref. https://developers.brickftp.com/#behaviors
60
+ # ref. https://developers.files.com/#behaviors
61
61
  autoload :ListBehaviors, 'brick_ftp/restful_api/list_behaviors'
62
62
  autoload :ListFolderBehaviors, 'brick_ftp/restful_api/list_folder_behaviors'
63
63
  autoload :GetBehavior, 'brick_ftp/restful_api/get_behavior'
64
64
  autoload :CreateBehavior, 'brick_ftp/restful_api/create_behavior'
65
65
  autoload :UpdateBehavior, 'brick_ftp/restful_api/update_behavior'
66
66
  autoload :DeleteBehavior, 'brick_ftp/restful_api/delete_behavior'
67
- # ref. https://developers.brickftp.com/#file-and-folder-operations
67
+ # ref. https://developers.files.com/#file-and-folder-operations
68
68
  autoload :ListFolders, 'brick_ftp/restful_api/list_folders'
69
69
  autoload :CreateFolder, 'brick_ftp/restful_api/create_folder'
70
70
  autoload :CountFolderContents, 'brick_ftp/restful_api/count_folder_contents'
@@ -73,7 +73,7 @@ module BrickFTP
73
73
  autoload :MoveFolder, 'brick_ftp/restful_api/move_folder'
74
74
  autoload :CopyFolder, 'brick_ftp/restful_api/copy_folder'
75
75
  autoload :DeleteFolder, 'brick_ftp/restful_api/delete_folder'
76
- # ref. https://developers.brickftp.com/#file-uploading
76
+ # ref. https://developers.files.com/#file-uploading
77
77
  autoload :StartUpload, 'brick_ftp/restful_api/start_upload'
78
78
  autoload :ContinueUpload, 'brick_ftp/restful_api/continue_upload'
79
79
  autoload :CompleteUpload, 'brick_ftp/restful_api/complete_upload'
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Add a member
6
6
  #
7
- # @see https://developers.brickftp.com/#add-a-member Add a member
7
+ # @see https://developers.files.com/#add-a-member Add a member
8
8
  #
9
9
  # ### Params
10
10
  #
@@ -13,7 +13,7 @@ module BrickFTP
13
13
  READ_TIMEOUT = 60
14
14
  USER_AGENT = 'BrickFTP Client/1.0 (https://github.com/koshigoe/brick_ftp)'
15
15
 
16
- # ref. https://developers.brickftp.com/#errors
16
+ # ref. https://developers.files.com/#errors
17
17
  ErrorResponse = Struct.new(
18
18
  'RESTfulAPIErrorResponse',
19
19
  :error,
@@ -39,7 +39,7 @@ module BrickFTP
39
39
  # @param [String] api_key
40
40
  #
41
41
  def initialize(subdomain, api_key)
42
- @http = Net::HTTP.new("#{subdomain}.brickftp.com", 443)
42
+ @http = Net::HTTP.new("#{subdomain}.files.com", 443)
43
43
  @http.use_ssl = true
44
44
  @http.open_timeout = OPEN_TIMEOUT
45
45
  @http.read_timeout = READ_TIMEOUT
@@ -6,7 +6,7 @@ module BrickFTP
6
6
  module RESTfulAPI
7
7
  # Completing an upload
8
8
  #
9
- # @see https://developers.brickftp.com/#completing-an-upload Completing an upload
9
+ # @see https://developers.files.com/#completing-an-upload Completing an upload
10
10
  #
11
11
  # ### Params
12
12
  #
@@ -6,7 +6,7 @@ module BrickFTP
6
6
  module RESTfulAPI
7
7
  # Requesting additional upload URLs
8
8
  #
9
- # @see https://developers.brickftp.com/#requesting-additional-upload-urls Requesting additional upload URLs
9
+ # @see https://developers.files.com/#requesting-additional-upload-urls Requesting additional upload URLs
10
10
  #
11
11
  # ### Params
12
12
  #
@@ -6,7 +6,7 @@ module BrickFTP
6
6
  module RESTfulAPI
7
7
  # Copy a file or folder
8
8
  #
9
- # @see https://developers.brickftp.com/#copy-a-file-or-folder Copy a file or folder
9
+ # @see https://developers.files.com/#copy-a-file-or-folder Copy a file or folder
10
10
  #
11
11
  # ### Params
12
12
  #
@@ -6,8 +6,8 @@ module BrickFTP
6
6
  module RESTfulAPI
7
7
  # Count folder contents
8
8
  #
9
- # @see https://developers.brickftp.com/#count-folder-contents-recursively Count folder contents recursively
10
- # @see https://developers.brickftp.com/#count-folder-contents-non-recursively Count folder contents non-recursively
9
+ # @see https://developers.files.com/#count-folder-contents-recursively Count folder contents recursively
10
+ # @see https://developers.files.com/#count-folder-contents-non-recursively Count folder contents non-recursively
11
11
  #
12
12
  class CountFolderContents
13
13
  include Command
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Count users
6
6
  #
7
- # @see https://developers.brickftp.com/#count-users Count users
7
+ # @see https://developers.files.com/#count-users Count users
8
8
  #
9
9
  class CountUsers
10
10
  include Command
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Create an API key
6
6
  #
7
- # @see https://developers.brickftp.com/#create-an-api-key Create an API key
7
+ # @see https://developers.files.com/#create-an-api-key Create an API key
8
8
  #
9
9
  # ### Params
10
10
  #
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Create a behavior
6
6
  #
7
- # @see https://developers.brickftp.com/#create-a-behavior Create a behavior
7
+ # @see https://developers.files.com/#create-a-behavior Create a behavior
8
8
  #
9
9
  # ### Params
10
10
  #
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Create a bundle
6
6
  #
7
- # @see https://developers.brickftp.com/#create-a-bundle Create a bundle
7
+ # @see https://developers.files.com/#create-a-bundle Create a bundle
8
8
  #
9
9
  # ### Params
10
10
  #
@@ -6,7 +6,7 @@ module BrickFTP
6
6
  module RESTfulAPI
7
7
  # Create a folder
8
8
  #
9
- # @see https://developers.brickftp.com/#create-a-folder Create a folder
9
+ # @see https://developers.files.com/#create-a-folder Create a folder
10
10
  #
11
11
  class CreateFolder
12
12
  include Command
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Create a group
6
6
  #
7
- # @see https://developers.brickftp.com/#create-a-group Create a group
7
+ # @see https://developers.files.com/#create-a-group Create a group
8
8
  #
9
9
  # ### Params
10
10
  #
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Create a notification
6
6
  #
7
- # @see https://developers.brickftp.com/#create-a-notification Create a notification
7
+ # @see https://developers.files.com/#create-a-notification Create a notification
8
8
  #
9
9
  # ### Params
10
10
  #
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Create a permission
6
6
  #
7
- # @see https://developers.brickftp.com/#create-a-permission Create a permission
7
+ # @see https://developers.files.com/#create-a-permission Create a permission
8
8
  #
9
9
  # ### Params
10
10
  #
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Create a public key
6
6
  #
7
- # @see https://developers.brickftp.com/#create-a-public-key Create a public key
7
+ # @see https://developers.files.com/#create-a-public-key Create a public key
8
8
  #
9
9
  # ### Params
10
10
  #
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Create a user
6
6
  #
7
- # @see https://developers.brickftp.com/#create-a-user Create a user
7
+ # @see https://developers.files.com/#create-a-user Create a user
8
8
  #
9
9
  # ### Params
10
10
  #
@@ -4,7 +4,7 @@ module BrickFTP
4
4
  module RESTfulAPI
5
5
  # Create a user in a group
6
6
  #
7
- # @see https://developers.brickftp.com/#create-a-user-in-a-groupCreate a user in a group
7
+ # @see https://developers.files.com/#create-a-user-in-a-groupCreate a user in a group
8
8
  #
9
9
  # ### Params
10
10
  #