Method: EasyTalk::Model::InstanceMethods#respond_to_missing?

Defined in:
lib/easy_talk/model.rb

#respond_to_missing?(method_name, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


72
73
74
75
76
# File 'lib/easy_talk/model.rb', line 72

def respond_to_missing?(method_name, include_private = false)
  method_string = method_name.to_s
  method_string.end_with?('=') ? method_string.chomp('=') : method_string
  self.class.additional_properties_allowed? || super
end