Class: Apia::DSLs::Object
- Includes:
- Concerns::HasFields
- Defined in:
- lib/apia/dsls/object.rb
Instance Method Summary collapse
Methods included from Concerns::HasFields
Methods inherited from Apia::DSL
#description, #initialize, #name, #no_schema
Constructor Details
This class inherits a constructor from Apia::DSL
Instance Method Details
#condition(&block) ⇒ Object
13 14 15 |
# File 'lib/apia/dsls/object.rb', line 13 def condition(&block) @definition.conditions << block end |