Sha256: f8c928c7342d716219a8f66c3758cbf1d17c0a910d4842ac893175ddd298e2a5

Contents?: true

Size: 195 Bytes

Versions: 6

Compression:

Stored size: 195 Bytes

Contents

# frozen_string_literal: true

module DefraRubyEmail
  class LastEmailController < ApplicationController
    def show
      render json: LastEmailCache.instance.last_email_json
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
defra_ruby_email-1.3.0 app/controllers/defra_ruby_email/last_email_controller.rb
defra_ruby_email-1.2.0 app/controllers/defra_ruby_email/last_email_controller.rb
defra_ruby_email-1.1.0 app/controllers/defra_ruby_email/last_email_controller.rb
defra_ruby_email-1.0.0 app/controllers/defra_ruby_email/last_email_controller.rb
defra_ruby_email-0.2.0 app/controllers/defra_ruby_email/last_email_controller.rb
defra_ruby_email-0.1.0 app/controllers/defra_ruby_email/last_email_controller.rb