lib/devise_token_auth/controllers/helpers.rb
Method define_helpers
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.define_helpers(mapping) #:nodoc:
mapping = mapping.name
class_eval <<-METHODS, __FILE__, __LINE__ + 1
def authenticate_#{mapping}!(opts={})
- Create a ticketCreate a ticket