Method: PlateApi::PlateObject::Base#respond_to_missing?

Defined in:
lib/plate_api/plate_object/base.rb

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

Returns:

  • (Boolean)


62
63
64
65
66
67
# File 'lib/plate_api/plate_object/base.rb', line 62

def respond_to_missing?(method_name, include_private = false)
  return true if attributes[method_name.to_s]
  return true if attributes["content"] && attributes["content"][method_name.to_s]

  super
end