Class: PsnTrophies::PlayedGame

Inherits:
Object
  • Object
show all
Defined in:
lib/psn_trophies.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ PlayedGame

Returns a new instance of PlayedGame.



63
64
65
# File 'lib/psn_trophies.rb', line 63

def initialize(attrs = {})
  attrs.each { |attr, value| self.send(:"#{attr}=", value) }
end

Instance Attribute Details

#image_urlObject

Returns the value of attribute image_url.



61
62
63
# File 'lib/psn_trophies.rb', line 61

def image_url
  @image_url
end

#progressObject

Returns the value of attribute progress.



61
62
63
# File 'lib/psn_trophies.rb', line 61

def progress
  @progress
end

#titleObject

Returns the value of attribute title.



61
62
63
# File 'lib/psn_trophies.rb', line 61

def title
  @title
end

#trophy_countObject

Returns the value of attribute trophy_count.



61
62
63
# File 'lib/psn_trophies.rb', line 61

def trophy_count
  @trophy_count
end