Exception: Steam::ProfileNotFound
- Inherits:
-
Exception
- Object
- Exception
- Steam::ProfileNotFound
- Defined in:
- lib/steam/profile.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id) ⇒ ProfileNotFound
constructor
A new instance of ProfileNotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(id) ⇒ ProfileNotFound
Returns a new instance of ProfileNotFound.
7 8 9 10 |
# File 'lib/steam/profile.rb', line 7 def initialize id @id = id @message = "Steam profile for '#{@id}' not found" end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/steam/profile.rb', line 5 def id @id end |
Instance Method Details
#to_s ⇒ Object
12 13 14 |
# File 'lib/steam/profile.rb', line 12 def to_s @message end |