Class: Nixenvironment::Archiver::ProfileInfo
- Inherits:
-
Object
- Object
- Nixenvironment::Archiver::ProfileInfo
- Defined in:
- lib/nixenvironment/archiver.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#device_count ⇒ Object
Returns the value of attribute device_count.
-
#expiration_date ⇒ Object
Returns the value of attribute expiration_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path, name, app_id, device_count, expiration_date) ⇒ ProfileInfo
constructor
A new instance of ProfileInfo.
- #to_s ⇒ Object
Constructor Details
#initialize(path, name, app_id, device_count, expiration_date) ⇒ ProfileInfo
Returns a new instance of ProfileInfo.
23 24 25 26 27 28 29 |
# File 'lib/nixenvironment/archiver.rb', line 23 def initialize(path, name, app_id, device_count, expiration_date) @path = path @name = name @app_id = app_id @device_count = device_count @expiration_date = expiration_date end |
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
21 22 23 |
# File 'lib/nixenvironment/archiver.rb', line 21 def app_id @app_id end |
#device_count ⇒ Object
Returns the value of attribute device_count.
21 22 23 |
# File 'lib/nixenvironment/archiver.rb', line 21 def device_count @device_count end |
#expiration_date ⇒ Object
Returns the value of attribute expiration_date.
21 22 23 |
# File 'lib/nixenvironment/archiver.rb', line 21 def expiration_date @expiration_date end |
#name ⇒ Object
Returns the value of attribute name.
21 22 23 |
# File 'lib/nixenvironment/archiver.rb', line 21 def name @name end |
#path ⇒ Object
Returns the value of attribute path.
21 22 23 |
# File 'lib/nixenvironment/archiver.rb', line 21 def path @path end |
Instance Method Details
#to_s ⇒ Object
31 32 33 |
# File 'lib/nixenvironment/archiver.rb', line 31 def to_s "<path='#{@path}', name='#{@name}', app_id='#{@app_id}', device_count=#{@device_count}, expiration_date=#{@expiration_date || 'None'}>" end |