Class: Nextcloud::Ruby::Models::Directory
- Inherits:
-
Object
- Object
- Nextcloud::Ruby::Models::Directory
- Defined in:
- lib/nextcloud/ruby/models/directory.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(id, path) ⇒ Directory
constructor
A new instance of Directory.
Constructor Details
#initialize(id, path) ⇒ Directory
Returns a new instance of Directory.
7 8 9 10 |
# File 'lib/nextcloud/ruby/models/directory.rb', line 7 def initialize(id, path) @id = id @path = path end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/nextcloud/ruby/models/directory.rb', line 5 def id @id end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
5 6 7 |
# File 'lib/nextcloud/ruby/models/directory.rb', line 5 def path @path end |