Sha256: f26c57ba485bee0714d697f9150162607f829dcc629a0ae2371d24244123f667

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

module PostmanMta
  class AttachmentsController < ApplicationController
    def show
      render attachment.find(params[:uuid])
    end

    private

    def attachment
      @attachment ||= PostmanMta::Attachment.new(params[:message_token])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
postman_mta-0.1.3 app/controllers/postman_mta/attachments_controller.rb