Class: BrickFTP::Types::Bundle
- Inherits:
-
Struct
- Object
- Struct
- BrickFTP::Types::Bundle
- Includes:
- IgnoreUndefinedAttributes
- Defined in:
- lib/brick_ftp/types/bundle.rb
Overview
The bundle object
ATTRIBUTE | TYPE | DESCRIPTION |
---|---|---|
id | integer | Globally unique identifier of each bundle. |
code | string | Unique code string identifier for the bundle. |
url | string | Public sharing URL for the bundle. |
user_id | integer | ID of the user that created the bundle. |
created_at | datetime | Creation date of the bundle. |
paths | array | List of the paths associated with the bundle. |
password | string | Optional password to password-protect the bundle. This property is write-only. It cannot be retrieved via the API. |
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#paths ⇒ Object
Returns the value of attribute paths.
-
#url ⇒ Object
Returns the value of attribute url.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#username ⇒ Object
Returns the value of attribute username.
Method Summary
Methods included from IgnoreUndefinedAttributes
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
21 22 23 |
# File 'lib/brick_ftp/types/bundle.rb', line 21 def code @code end |
#created_at ⇒ Object
Returns the value of attribute created_at
21 22 23 |
# File 'lib/brick_ftp/types/bundle.rb', line 21 def created_at @created_at end |
#expires_at ⇒ Object
Returns the value of attribute expires_at
21 22 23 |
# File 'lib/brick_ftp/types/bundle.rb', line 21 def expires_at @expires_at end |
#id ⇒ Object
Returns the value of attribute id
21 22 23 |
# File 'lib/brick_ftp/types/bundle.rb', line 21 def id @id end |
#paths ⇒ Object
Returns the value of attribute paths
21 22 23 |
# File 'lib/brick_ftp/types/bundle.rb', line 21 def paths @paths end |
#url ⇒ Object
Returns the value of attribute url
21 22 23 |
# File 'lib/brick_ftp/types/bundle.rb', line 21 def url @url end |
#user_id ⇒ Object
Returns the value of attribute user_id
21 22 23 |
# File 'lib/brick_ftp/types/bundle.rb', line 21 def user_id @user_id end |
#username ⇒ Object
Returns the value of attribute username
21 22 23 |
# File 'lib/brick_ftp/types/bundle.rb', line 21 def username @username end |