Sha256: 7dd17b6b3a357603a6a81f905dbc8adb4f86fd072aa310fe18275e32d98ce8f2
Contents?: true
Size: 821 Bytes
Versions: 5
Compression:
Stored size: 821 Bytes
Contents
class Rhapsody::Member ATTR_LIST = [ :cobrand, :cocat, :email, :logon, :firstName, :id, :lastName, :locale, :country, :isPublic, :billingPartnerCode, :catalog, :createDate, :isSuspended, :tierCode, :tierName, :productCode, :productName, :expirationDate, :trialLengthDays, :isTrial, :state, :canStreamOnWeb, :canStreamOnMobile, :canStreamOnHomeDevice, :canStreamOnPC, :canUpgradeStreams, :maxStreamCount, :isPlayBasedTier, :isMonthlyPlayBasedTier, :isOneTimePlayBasedTier, :totalPlays, :playsRemaining ] attr_accessor *ATTR_LIST def initialize(options) if options options.each do |key, value| instance_variable_set("@#{key}", value) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems