Class: Covetous::Data::Item
Instance Attribute Summary
Attributes inherited from Shen
Instance Method Summary collapse
-
#initialize(item_data) ⇒ Item
constructor
A new instance of Item.
Methods inherited from Shen
Constructor Details
#initialize(item_data) ⇒ Item
Returns a new instance of Item.
4 5 6 7 |
# File 'lib/covetous/data/item.rb', line 4 def initialize(item_data) @url = "#{Covetous::Data::BASE_URL}/item/#{item_data}" super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Covetous::Shen