Sha256: 8b80c0c5a455cb9e230fdcfc765bf556899c84b7596ef4810d9a917ff0768f8e

Contents?: true

Size: 1.14 KB

Versions: 5

Compression:

Stored size: 1.14 KB

Contents

class Rhapsody::Member
  attr_accessor :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

  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

Version Path
rhapsody-0.0.6 lib/rhapsody/models/member.rb
rhapsody-0.0.6.beta4 lib/rhapsody/models/member.rb
rhapsody-0.0.6.beta3 lib/rhapsody/models/member.rb
rhapsody-0.0.6.beta2 lib/rhapsody/models/member.rb
rhapsody-0.0.6.beta1 lib/rhapsody/models/member.rb