Class: Konfidant::Share
- Inherits:
-
Data
- Object
- Data
- Konfidant::Share
- Defined in:
- lib/konfidant/types.rb
Instance Attribute Summary collapse
-
#accessed_at ⇒ Object
readonly
Returns the value of attribute accessed_at.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#created_by ⇒ Object
readonly
Returns the value of attribute created_by.
-
#expires_at ⇒ Object
readonly
Returns the value of attribute expires_at.
-
#file_name ⇒ Object
readonly
Returns the value of attribute file_name.
-
#file_size_bytes ⇒ Object
readonly
Returns the value of attribute file_size_bytes.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type:, file_name:, file_size_bytes:, created_at:, expires_at:, created_by:, accessed_at: nil) ⇒ Share
constructor
A new instance of Share.
Constructor Details
#initialize(type:, file_name:, file_size_bytes:, created_at:, expires_at:, created_by:, accessed_at: nil) ⇒ Share
Returns a new instance of Share.
20 21 22 23 |
# File 'lib/konfidant/types.rb', line 20 def initialize(type:, file_name:, file_size_bytes:, created_at:, expires_at:, created_by:, accessed_at: nil) super end |
Instance Attribute Details
#accessed_at ⇒ Object (readonly)
Returns the value of attribute accessed_at
17 18 19 |
# File 'lib/konfidant/types.rb', line 17 def accessed_at @accessed_at end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at
17 18 19 |
# File 'lib/konfidant/types.rb', line 17 def created_at @created_at end |
#created_by ⇒ Object (readonly)
Returns the value of attribute created_by
17 18 19 |
# File 'lib/konfidant/types.rb', line 17 def created_by @created_by end |
#expires_at ⇒ Object (readonly)
Returns the value of attribute expires_at
17 18 19 |
# File 'lib/konfidant/types.rb', line 17 def expires_at @expires_at end |
#file_name ⇒ Object (readonly)
Returns the value of attribute file_name
17 18 19 |
# File 'lib/konfidant/types.rb', line 17 def file_name @file_name end |
#file_size_bytes ⇒ Object (readonly)
Returns the value of attribute file_size_bytes
17 18 19 |
# File 'lib/konfidant/types.rb', line 17 def file_size_bytes @file_size_bytes end |
#type ⇒ Object (readonly)
Returns the value of attribute type
17 18 19 |
# File 'lib/konfidant/types.rb', line 17 def type @type end |