Class: PsnTrophies::PlayedGame
- Inherits:
-
Object
- Object
- PsnTrophies::PlayedGame
- Defined in:
- lib/psn_trophies.rb
Instance Attribute Summary collapse
-
#image_url ⇒ Object
Returns the value of attribute image_url.
-
#progress ⇒ Object
Returns the value of attribute progress.
-
#title ⇒ Object
Returns the value of attribute title.
-
#trophy_count ⇒ Object
Returns the value of attribute trophy_count.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ PlayedGame
constructor
A new instance of PlayedGame.
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_url ⇒ Object
Returns the value of attribute image_url.
61 62 63 |
# File 'lib/psn_trophies.rb', line 61 def image_url @image_url end |
#progress ⇒ Object
Returns the value of attribute progress.
61 62 63 |
# File 'lib/psn_trophies.rb', line 61 def progress @progress end |
#title ⇒ Object
Returns the value of attribute title.
61 62 63 |
# File 'lib/psn_trophies.rb', line 61 def title @title end |
#trophy_count ⇒ Object
Returns the value of attribute trophy_count.
61 62 63 |
# File 'lib/psn_trophies.rb', line 61 def trophy_count @trophy_count end |