Class: MojFileUploaderApiClient::FileReference
- Inherits:
-
Object
- Object
- MojFileUploaderApiClient::FileReference
- Defined in:
- lib/mojfile_uploader_api_client/file_reference.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#last_modified ⇒ Object
Returns the value of attribute last_modified.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(key:, title:, last_modified:) ⇒ FileReference
constructor
A new instance of FileReference.
Constructor Details
#initialize(key:, title:, last_modified:) ⇒ FileReference
Returns a new instance of FileReference.
7 8 9 10 11 |
# File 'lib/mojfile_uploader_api_client/file_reference.rb', line 7 def initialize(key:, title:, last_modified:) self.key = key self.title = title self.last_modified = last_modified end |
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
5 6 7 |
# File 'lib/mojfile_uploader_api_client/file_reference.rb', line 5 def key @key end |
#last_modified ⇒ Object
Returns the value of attribute last_modified.
5 6 7 |
# File 'lib/mojfile_uploader_api_client/file_reference.rb', line 5 def last_modified @last_modified end |
#title ⇒ Object
Returns the value of attribute title.
5 6 7 |
# File 'lib/mojfile_uploader_api_client/file_reference.rb', line 5 def title @title end |