Class: MediaArtsDb::Comic::Author

Inherits:
Component
  • Object
show all
Defined in:
lib/media_arts_db/comic/component.rb

Instance Attribute Summary

Attributes inherited from Component

#id

Instance Method Summary collapse

Methods inherited from Component

#[], #content, #content_cache, #method_missing

Constructor Details

#initialize(id, content = {}, retrieved = false) ⇒ Author

Returns a new instance of Author.



111
112
113
114
# File 'lib/media_arts_db/comic/component.rb', line 111

def initialize(id, content = {}, retrieved = false)
  super(id, content, retrieved)
  @retriever = FindAuthor.new(@id)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class MediaArtsDb::Comic::Component