Sha256: d6e5969fa39296a81d509702e61113e17aa7fc166f390aa064e49c6b203b1732

Contents?: true

Size: 265 Bytes

Versions: 10

Compression:

Stored size: 265 Bytes

Contents

module PostmanMta
  class Attachment < ApplicationModel
    attr_reader :message_token

    def initialize(message_token)
      @message_token = message_token
    end

    def find(uuid)
      get("/messages/#{message_token}/attachments/#{uuid}")
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
postman_mta-0.2.8 app/models/postman_mta/attachment.rb
postman_mta-0.2.7 app/models/postman_mta/attachment.rb
postman_mta-0.2.6 app/models/postman_mta/attachment.rb
postman_mta-0.2.4 app/models/postman_mta/attachment.rb
postman_mta-0.2.3 app/models/postman_mta/attachment.rb
postman_mta-0.2.2 app/models/postman_mta/attachment.rb
postman_mta-0.2.1 app/models/postman_mta/attachment.rb
postman_mta-0.2.0 app/models/postman_mta/attachment.rb
postman_mta-0.1.9 app/models/postman_mta/attachment.rb
postman_mta-0.1.8 app/models/postman_mta/attachment.rb