class Dropbox::SpaceUsage

Attributes

allocated[R]
allocation[R]
used[R]

Public Class Methods

new(attrs={}) click to toggle source
# File lib/dropbox/account.rb, line 41
def initialize(attrs={})
  @used = attrs['used'] # Space used in bytes
  @allocation = attrs['allocation']['.tag'] # The type of allocation
  @allocated = attrs['allocation']['allocated'] # Space allocated in bytes
end