diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-05-11 11:41:36 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2017-05-15 14:27:01 +0200 |
commit | cac7e03fa1cb39a685bcde87d4d67fb17c4f48f2 (patch) | |
tree | d92728e5704a9409a372aff7a8f22b32c436caf3 /lib/api/entities.rb | |
parent | 6c6d2bf047f8694e8b58db0feea6a3f320c372de (diff) | |
download | gitlab-ce-cac7e03fa1cb39a685bcde87d4d67fb17c4f48f2.tar.gz |
Rename `build_events` to `job_events` in code
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 3fc2b453eb6..01cc8e8e1ca 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -60,7 +60,7 @@ module API class ProjectHook < Hook expose :project_id, :issues_events, :merge_requests_events expose :note_events, :pipeline_events, :wiki_page_events - expose :build_events, as: :job_events + expose :job_events end class BasicProjectDetails < Grape::Entity @@ -470,7 +470,7 @@ module API expose :id, :title, :created_at, :updated_at, :active expose :push_events, :issues_events, :merge_requests_events expose :tag_push_events, :note_events, :pipeline_events - expose :build_events, as: :job_events + expose :job_events # Expose serialized properties expose :properties do |service, options| field_names = service.fields. |