Class: Memories::Attachment

Inherits:
Object
  • Object
show all
Defined in:
lib/memories/attachment.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Attachment

Returns a new instance of Attachment.



3
4
5
# File 'lib/memories/attachment.rb', line 3

def initialize(data)
  @data = data
end

Instance Method Details

#readObject



7
# File 'lib/memories/attachment.rb', line 7

def read; @data; end