Skip to content

Commit 08e7dd9

Browse files
committed
commented out the required check for the model field
1 parent d95efae commit 08e7dd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

generator/cybersource-ruby-template/partial_model_generic.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@
157157
# @param [Object] {{{name}}} Value to be assigned
158158
def {{{name}}}=({{{name}}})
159159
{{#required}}
160-
if {{{name}}}.nil?
161-
fail ArgumentError, '{{{name}}} cannot be nil'
162-
end
160+
#if {{{name}}}.nil?
161+
#fail ArgumentError, '{{{name}}} cannot be nil'
162+
#end
163163

164164
{{/required}}
165165
{{#pattern}}

0 commit comments

Comments
 (0)