-
- Downloads
There was an error fetching the commit references. Please try again later.
Expose Project's & ProjectSnippet's VisibilityLevel as String
Instead of exposing the VisibilityLevel as Integer, expose it as String `visibility` for Project and ProjectSnippet. Filter queries also accept the `visibility` as String instead of `visibility_level` as Integer. Also remove the `public` boolean.
Showing
- app/models/project.rb 1 addition, 1 deletionapp/models/project.rb
- doc/api/project_snippets.md 8 additions, 8 deletionsdoc/api/project_snippets.md
- doc/api/projects.md 14 additions, 21 deletionsdoc/api/projects.md
- lib/api/entities.rb 2 additions, 2 deletionslib/api/entities.rb
- lib/api/helpers.rb 8 additions, 0 deletionslib/api/helpers.rb
- lib/api/project_snippets.rb 8 additions, 12 deletionslib/api/project_snippets.rb
- lib/api/projects.rb 6 additions, 10 deletionslib/api/projects.rb
- spec/requests/api/project_snippets_spec.rb 8 additions, 8 deletionsspec/requests/api/project_snippets_spec.rb
- spec/requests/api/projects_spec.rb 30 additions, 31 deletionsspec/requests/api/projects_spec.rb
Please register or sign in to comment