Class: Dryer::Factories::Fields::Build
- Inherits:
-
Services::SimpleService
- Object
- Services::SimpleService
- Dryer::Factories::Fields::Build
- Defined in:
- lib/dryer/factories/fields/build.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(name:, type:) ⇒ Build
constructor
A new instance of Build.
Constructor Details
#initialize(name:, type:) ⇒ Build
Returns a new instance of Build.
7 8 9 10 |
# File 'lib/dryer/factories/fields/build.rb', line 7 def initialize(name:, type:) @name = name @type = type end |
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/dryer/factories/fields/build.rb', line 12 def call build_field(name, type) end |