Class: Trophy

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Resource
Defined in:
lib/trophy_scraper/models/trophy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#icon_uriObject

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_sObject



16
17
18
# File 'lib/trophy_scraper/models/trophy.rb', line 16

def to_s
  return "id = #{@id}, name = #{@name}, description = #{@description}"
end