Module: Artisanal::Model::DSL::InstanceMethods
- Defined in:
- lib/artisanal/model/dsl.rb
Instance Method Summary collapse
Instance Method Details
#artisanal_model ⇒ Object
29 30 31 |
# File 'lib/artisanal/model/dsl.rb', line 29 def artisanal_model self.class.artisanal_model end |
#attributes(*args) ⇒ Object
33 34 35 |
# File 'lib/artisanal/model/dsl.rb', line 33 def attributes(*args) artisanal_model.attributes(self, *args) end |
#to_h(**args) ⇒ Object
37 38 39 |
# File 'lib/artisanal/model/dsl.rb', line 37 def to_h(**args) artisanal_model.to_h(self, **args) end |