Method: ApiModel::Response#method_missing

Defined in:
lib/api_model/response.rb

#method_missing(method_name, *args, &block) ⇒ Object

Pass though any method which is not defined to the built objects. This makes the response class quite transparent, and keeps the response acting like the built object, or array of objects.



86
87
88
# File 'lib/api_model/response.rb', line 86

def method_missing(method_name, *args, &block)
  objects.send method_name, *args, &block
end