Module: SinatraResource::Resource
- Defined in:
- lib/resource.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(includee) ⇒ Object
4 5 6 7 |
# File 'lib/resource.rb', line 4 def self.included(includee) includee.extend ClassMethods includee.setup end |
Instance Method Details
#resource_config ⇒ Object
9 10 11 |
# File 'lib/resource.rb', line 9 def resource_config self.class.resource_config end |