Class: MojFileUploaderApiClient::FileReference

Inherits:
Object
  • Object
show all
Defined in:
lib/mojfile_uploader_api_client/file_reference.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#keyObject

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_modifiedObject

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

#titleObject

Returns the value of attribute title.



5
6
7
# File 'lib/mojfile_uploader_api_client/file_reference.rb', line 5

def title
  @title
end