Class: Itunes::Transporter::Leaderboard

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#aggregate_parent_leaderboardObject

Returns the value of attribute aggregate_parent_leaderboard

Returns:

  • (Object)

    the current value of aggregate_parent_leaderboard



15
16
17
# File 'lib/itunes/transporter.rb', line 15

def aggregate_parent_leaderboard
  @aggregate_parent_leaderboard
end

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



15
16
17
# File 'lib/itunes/transporter.rb', line 15

def default
  @default
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



15
16
17
# File 'lib/itunes/transporter.rb', line 15

def id
  @id
end

#localesObject

Returns the value of attribute locales

Returns:

  • (Object)

    the current value of locales



15
16
17
# File 'lib/itunes/transporter.rb', line 15

def locales
  @locales
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



15
16
17
# File 'lib/itunes/transporter.rb', line 15

def name
  @name
end

#score_range_maxObject

Returns the value of attribute score_range_max

Returns:

  • (Object)

    the current value of score_range_max



15
16
17
# File 'lib/itunes/transporter.rb', line 15

def score_range_max
  @score_range_max
end

#score_range_minObject

Returns the value of attribute score_range_min

Returns:

  • (Object)

    the current value of score_range_min



15
16
17
# File 'lib/itunes/transporter.rb', line 15

def score_range_min
  @score_range_min
end

#sort_ascendingObject

Returns the value of attribute sort_ascending

Returns:

  • (Object)

    the current value of sort_ascending



15
16
17
# File 'lib/itunes/transporter.rb', line 15

def sort_ascending
  @sort_ascending
end

Instance Method Details

#to_sObject



16
17
18
# File 'lib/itunes/transporter.rb', line 16

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