Class: OneDriveForBusiness::Drive::Quota
- Inherits:
-
Object
- Object
- OneDriveForBusiness::Drive::Quota
- Defined in:
- lib/onedrive_for_business/drive.rb
Instance Attribute Summary collapse
-
#deleted ⇒ Object
readonly
Returns the value of attribute deleted.
-
#remaining ⇒ Object
readonly
Returns the value of attribute remaining.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(fields) ⇒ Quota
constructor
A new instance of Quota.
Constructor Details
#initialize(fields) ⇒ Quota
Returns a new instance of Quota.
35 36 37 38 39 40 |
# File 'lib/onedrive_for_business/drive.rb', line 35 def initialize(fields) @deleted = fields['deleted'] @remaining = fields['remaining'] @state = fields['state'] @total = fields['total'] end |
Instance Attribute Details
#deleted ⇒ Object (readonly)
Returns the value of attribute deleted.
42 43 44 |
# File 'lib/onedrive_for_business/drive.rb', line 42 def deleted @deleted end |
#remaining ⇒ Object (readonly)
Returns the value of attribute remaining.
43 44 45 |
# File 'lib/onedrive_for_business/drive.rb', line 43 def remaining @remaining end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
44 45 46 |
# File 'lib/onedrive_for_business/drive.rb', line 44 def state @state end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
45 46 47 |
# File 'lib/onedrive_for_business/drive.rb', line 45 def total @total end |