Class: Rdmm::Resources::BaseResource
- Inherits:
-
Object
- Object
- Rdmm::Resources::BaseResource
- Defined in:
- lib/rdmm/resources/base_resource.rb
Direct Known Subclasses
ActressResource, AuthorResource, FloorResource, GenreResource, ItemResource, MakerResource, SeriesResource
Instance Attribute Summary collapse
- #source ⇒ Hash readonly
Instance Method Summary collapse
-
#initialize(source) ⇒ BaseResource
constructor
A new instance of BaseResource.
Constructor Details
#initialize(source) ⇒ BaseResource
Returns a new instance of BaseResource.
8 9 10 |
# File 'lib/rdmm/resources/base_resource.rb', line 8 def initialize(source) @source = source end |
Instance Attribute Details
#source ⇒ Hash (readonly)
5 6 7 |
# File 'lib/rdmm/resources/base_resource.rb', line 5 def source @source end |