Module: Determinator
- Defined in:
- lib/determinator/models.rb,
lib/determinator/context.rb,
lib/determinator/models/base.rb,
lib/determinator/models/rider.rb,
lib/determinator/models/types.rb,
lib/determinator/context/actors.rb,
lib/determinator/models/request.rb,
lib/determinator/context/helpers.rb,
lib/determinator/context/version.rb,
lib/determinator/models/customer.rb,
lib/determinator/context/resolver.rb,
lib/determinator/models/common/drn.rb,
lib/determinator/models/restaurant.rb,
lib/determinator/models/common/city.rb,
lib/determinator/models/common/zone.rb,
lib/determinator/models/common/country.rb,
lib/determinator/models/common/neighborhood.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.model(&block) ⇒ Object
2 3 4 5 6 |
# File 'lib/determinator/models.rb', line 2 def self.model(&block) Class.new(Determinator::Models::Base) do class_eval(&block) end end |