Module: Treaty::Info::Entity::DSL::ClassMethods
- Defined in:
- lib/treaty/info/entity/dsl.rb
Instance Method Summary collapse
- #info ⇒ Object
-
#treaty? ⇒ Boolean
API: Treaty Web.
Instance Method Details
#info ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/treaty/info/entity/dsl.rb', line 12 def info builder = Builder.build( collection_of_attributes: ) Result.new(builder) end |
#treaty? ⇒ Boolean
API: Treaty Web
21 22 23 |
# File 'lib/treaty/info/entity/dsl.rb', line 21 def treaty? true end |