Module: Discogs::ResourceMappings
- Included in:
- Resource
- Defined in:
- lib/wrapper/resource_mappings.rb
Overview
Abstracts the resource-mapping class methods.
Each “resource” in the wrapper maps to one or more elements in the API response. This way they can be recursively built without having to manually specify it in each class.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
9 10 11 |
# File 'lib/wrapper/resource_mappings.rb', line 9 def self.included(base) base.extend ClassMethods end |