Sha256: a1dcb079927785e5b93820181ca5ac67727eba1f85d7b43c37893f5ca02c7324
Contents?: true
Size: 606 Bytes
Versions: 13
Compression:
Stored size: 606 Bytes
Contents
# typed: false # frozen_string_literal: true class YettoController < ApplicationController include BodyParameter::YettoParameters include Hephaestus::ValidatesFromYetto before_action :from_yetto? def event event = params[:event] record_type = params[:record_type] case event when Hephaestus::Headers::EVENT_AFTER_CREATE case record_type when Hephaestus::Headers::RECORD_TYPE_PLUG_INSTALLATION no_content when Hephaestus::Headers::RECORD_TYPE_MESSAGE no_content else not_found end else not_found end end end
Version data entries
13 entries across 13 versions & 1 rubygems