Class: BrickFTP::Types::Bundle

Inherits:
Struct
  • Object
show all
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.

See Also:

Instance Attribute Summary collapse

Method Summary

Methods included from IgnoreUndefinedAttributes

#initialize

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



21
22
23
# File 'lib/brick_ftp/types/bundle.rb', line 21

def code
  @code
end

#created_atObject

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



21
22
23
# File 'lib/brick_ftp/types/bundle.rb', line 21

def created_at
  @created_at
end

#expires_atObject

Returns the value of attribute expires_at

Returns:

  • (Object)

    the current value of expires_at



21
22
23
# File 'lib/brick_ftp/types/bundle.rb', line 21

def expires_at
  @expires_at
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



21
22
23
# File 'lib/brick_ftp/types/bundle.rb', line 21

def id
  @id
end

#pathsObject

Returns the value of attribute paths

Returns:

  • (Object)

    the current value of paths



21
22
23
# File 'lib/brick_ftp/types/bundle.rb', line 21

def paths
  @paths
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



21
22
23
# File 'lib/brick_ftp/types/bundle.rb', line 21

def url
  @url
end

#user_idObject

Returns the value of attribute user_id

Returns:

  • (Object)

    the current value of user_id



21
22
23
# File 'lib/brick_ftp/types/bundle.rb', line 21

def user_id
  @user_id
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



21
22
23
# File 'lib/brick_ftp/types/bundle.rb', line 21

def username
  @username
end