class RESTinPeace::ActiveModelAPI::MissingMethod

Public Class Methods

new(method) click to toggle source
Calls superclass method
# File lib/rest_in_peace/active_model_api.rb, line 7
def initialize(method)
  super "No #{method} method has been defined. "\
        'Maybe you called acts_as_active_model before defining the api endpoints?'
end