Class: Treaty::Action::Info::Builder
- Inherits:
-
Object
- Object
- Treaty::Action::Info::Builder
- Defined in:
- lib/treaty/action/info/builder.rb
Instance Attribute Summary collapse
-
#versions ⇒ Object
readonly
Returns the value of attribute versions.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#versions ⇒ Object (readonly)
Returns the value of attribute versions.
7 8 9 |
# File 'lib/treaty/action/info/builder.rb', line 7 def versions @versions end |
Class Method Details
.build ⇒ Object
9 10 11 |
# File 'lib/treaty/action/info/builder.rb', line 9 def self.build(...) new.build(...) end |
Instance Method Details
#build(collection_of_versions:) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/treaty/action/info/builder.rb', line 13 def build(collection_of_versions:) build_all( versions: collection_of_versions ) self end |