Class: Etapper::API::Attachment

Inherits:
Object
  • Object
show all
Defined in:
lib/etapper/api/service.rb

Overview

etapestryAPI/serviceAttachment

date - SOAP::SOAPDateTime
fileContent - SOAP::SOAPBase64
filename - SOAP::SOAPString
mimeType - SOAP::SOAPString
ref - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(date = nil, fileContent = nil, filename = nil, mimeType = nil, ref = nil) ⇒ Attachment

Returns a new instance of Attachment.



275
276
277
278
279
280
281
# File 'lib/etapper/api/service.rb', line 275

def initialize(date = nil, fileContent = nil, filename = nil, mimeType = nil, ref = nil)
  @date = date
  @fileContent = fileContent
  @filename = filename
  @mimeType = mimeType
  @ref = ref
end

Instance Attribute Details

#dateObject

Returns the value of attribute date.



269
270
271
# File 'lib/etapper/api/service.rb', line 269

def date
  @date
end

#fileContentObject

Returns the value of attribute fileContent.



270
271
272
# File 'lib/etapper/api/service.rb', line 270

def fileContent
  @fileContent
end

#filenameObject

Returns the value of attribute filename.



271
272
273
# File 'lib/etapper/api/service.rb', line 271

def filename
  @filename
end

#mimeTypeObject

Returns the value of attribute mimeType.



272
273
274
# File 'lib/etapper/api/service.rb', line 272

def mimeType
  @mimeType
end

#refObject

Returns the value of attribute ref.



273
274
275
# File 'lib/etapper/api/service.rb', line 273

def ref
  @ref
end