Extract /internal/allowed API Actor logic out
Created new API::Support::GitAccessActor class to encapsulate some of the more edge logic, making the /internal/allowed route much cleaner.
显示
- lib/api/helpers/internal_helpers.rb 12 个添加, 0 个删除lib/api/helpers/internal_helpers.rb
- lib/api/internal/base.rb 6 个添加, 29 个删除lib/api/internal/base.rb
- lib/api/support/git_access_actor.rb 42 个添加, 0 个删除lib/api/support/git_access_actor.rb
- spec/lib/api/support/git_access_actor_spec.rb 128 个添加, 0 个删除spec/lib/api/support/git_access_actor_spec.rb
加载中
想要评论请 注册 或 登录