Class: Etapper::API::Attachment
- Inherits:
-
Object
- Object
- Etapper::API::Attachment
- Defined in:
- lib/etapper/api/service.rb
Overview
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#fileContent ⇒ Object
Returns the value of attribute fileContent.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#mimeType ⇒ Object
Returns the value of attribute mimeType.
-
#ref ⇒ Object
Returns the value of attribute ref.
Instance Method Summary collapse
-
#initialize(date = nil, fileContent = nil, filename = nil, mimeType = nil, ref = nil) ⇒ Attachment
constructor
A new instance of Attachment.
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
#date ⇒ Object
Returns the value of attribute date.
269 270 271 |
# File 'lib/etapper/api/service.rb', line 269 def date @date end |
#fileContent ⇒ Object
Returns the value of attribute fileContent.
270 271 272 |
# File 'lib/etapper/api/service.rb', line 270 def fileContent @fileContent end |
#filename ⇒ Object
Returns the value of attribute filename.
271 272 273 |
# File 'lib/etapper/api/service.rb', line 271 def filename @filename end |
#mimeType ⇒ Object
Returns the value of attribute mimeType.
272 273 274 |
# File 'lib/etapper/api/service.rb', line 272 def mimeType @mimeType end |
#ref ⇒ Object
Returns the value of attribute ref.
273 274 275 |
# File 'lib/etapper/api/service.rb', line 273 def ref @ref end |