Module: Cassette::Authentication::Filter::ClassMethods

Defined in:
lib/cassette/authentication/filter.rb

Instance Method Summary collapse

Instance Method Details

#skip_authentication(*options) ⇒ Object



19
20
21
22
23
24
25
# File 'lib/cassette/authentication/filter.rb', line 19

def skip_authentication(*options)
  if respond_to?(:skip_before_action)
    skip_before_action :validate_authentication_ticket, *options
  else
    skip_before_filter :validate_authentication_ticket, *options
  end
end