Class: OpConnect::Item::File
- Inherits:
-
Object
- Object
- OpConnect::Item::File
- Defined in:
- lib/op_connect/item/file.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#content_path ⇒ Object
readonly
Returns the value of attribute content_path.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#section ⇒ Object
readonly
Returns the value of attribute section.
-
#size ⇒ Object
readonly
Returns the value of attribute size.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ File
constructor
A new instance of File.
Constructor Details
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
4 5 6 |
# File 'lib/op_connect/item/file.rb', line 4 def content @content end |
#content_path ⇒ Object (readonly)
Returns the value of attribute content_path.
4 5 6 |
# File 'lib/op_connect/item/file.rb', line 4 def content_path @content_path end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/op_connect/item/file.rb', line 4 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/op_connect/item/file.rb', line 4 def name @name end |
#section ⇒ Object (readonly)
Returns the value of attribute section.
4 5 6 |
# File 'lib/op_connect/item/file.rb', line 4 def section @section end |
#size ⇒ Object (readonly)
Returns the value of attribute size.
4 5 6 |
# File 'lib/op_connect/item/file.rb', line 4 def size @size end |