Class: Itunes::Transporter::Achievement

Inherits:
Struct
  • Object
show all
Defined in:
lib/itunes/transporter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#hiddenObject

Returns the value of attribute hidden

Returns:

  • (Object)

    the current value of hidden



3
4
5
# File 'lib/itunes/transporter.rb', line 3

def hidden
  @hidden
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



3
4
5
# File 'lib/itunes/transporter.rb', line 3

def id
  @id
end

#localesObject

Returns the value of attribute locales

Returns:

  • (Object)

    the current value of locales



3
4
5
# File 'lib/itunes/transporter.rb', line 3

def locales
  @locales
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/itunes/transporter.rb', line 3

def name
  @name
end

#pointsObject

Returns the value of attribute points

Returns:

  • (Object)

    the current value of points



3
4
5
# File 'lib/itunes/transporter.rb', line 3

def points
  @points
end

#reusableObject

Returns the value of attribute reusable

Returns:

  • (Object)

    the current value of reusable



3
4
5
# File 'lib/itunes/transporter.rb', line 3

def reusable
  @reusable
end

#should_removeObject

Returns the value of attribute should_remove

Returns:

  • (Object)

    the current value of should_remove



3
4
5
# File 'lib/itunes/transporter.rb', line 3

def should_remove
  @should_remove
end

Instance Method Details

#to_sObject



4
5
6
# File 'lib/itunes/transporter.rb', line 4

def to_s
 "#{self.id} #{self.name}"
end