class Spotify::Models::Full::User

Attributes

birthdate[R]
country[R]
email[R]
product[R]

Public Class Methods

new(args = {}) click to toggle source

Sets the arguments to its variables.

@param [Hash] args the arguments that will be placed on each variable.

@return [Full::Artist] a full user object.

Calls superclass method Spotify::Models::User::new
# File lib/spotify/models/full/user.rb, line 16
def initialize(args = {})
  super(args)

  args = Hash(args).with_indifferent_access

  @birthdate = args[:birthdate]
  @country   = args[:country]
  @email     = args[:email]
  @product   = args[:product]
end