class Attach::File

Attributes

data[RW]
name[RW]
type[RW]

Public Class Methods

new(data, name = "untitled", type = "application/octet-stream") click to toggle source
# File lib/attach/file.rb, line 8
def initialize(data, name = "untitled", type = "application/octet-stream")
  @data = data
  @name = name
  @type = type
end