Class: Trophy
- Inherits:
-
Object
- Object
- Trophy
- Includes:
- DataMapper::Resource
- Defined in:
- lib/trophy_scraper/models/trophy.rb
Instance Attribute Summary collapse
-
#icon_uri ⇒ Object
Returns the value of attribute icon_uri.
Instance Method Summary collapse
Instance Attribute Details
#icon_uri ⇒ Object
Returns the value of attribute icon_uri.
14 15 16 |
# File 'lib/trophy_scraper/models/trophy.rb', line 14 def icon_uri @icon_uri end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/trophy_scraper/models/trophy.rb', line 16 def to_s return "id = #{@id}, name = #{@name}, description = #{@description}" end |