We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adf1d05 commit 7611e0eCopy full SHA for 7611e0e
1 file changed
lib/github_api/client/projects.rb
@@ -1,3 +1,4 @@
1
+# encoding: utf-8
2
# frozen_string_literal: true
3
4
module Github
@@ -22,7 +23,7 @@ def get(*args)
22
23
24
get_request("/projects/#{arguments.id}", params)
25
end
- alias_method :find, :get
26
+ alias find get
27
28
# Edit a project
29
#
@@ -47,7 +48,7 @@ def edit(*args)
47
48
49
params["accept"] ||= PREVIEW_MEDIA
50
- patch_request("/projects/#{arguments.id}",params)
51
+ patch_request("/projects/#{arguments.id}", params)
52
53
54
# Delete a project
@@ -65,6 +66,6 @@ def delete(*args)
65
66
67
delete_request("/projects/#{arguments.id}", arguments.params)
68
- alias :remove :delete
69
+ alias remove delete
70
end # Projects
71
end # Github
0 commit comments