Method: PlateApi::PlateObject::Base#method_missing
- Defined in:
- lib/plate_api/plate_object/base.rb
#method_missing(method_name, *args, &block) ⇒ Object
52 53 54 55 56 57 58 59 60 |
# File 'lib/plate_api/plate_object/base.rb', line 52 def method_missing(method_name, *args, &block) if attributes[method_name.to_s] attributes[method_name.to_s] elsif attributes["content"] && attributes["content"][method_name.to_s] attributes["content"][method_name.to_s]["value"] else super end end |