Class: BonaFide::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/bona_fide/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#base_classObject

Returns the value of attribute base_class.



3
4
5
# File 'lib/bona_fide/configuration.rb', line 3

def base_class
  @base_class
end

Returns the value of attribute cookie_name.



3
4
5
# File 'lib/bona_fide/configuration.rb', line 3

def cookie_name
  @cookie_name
end

#setterObject

Returns the value of attribute setter.



3
4
5
# File 'lib/bona_fide/configuration.rb', line 3

def setter
  @setter
end

Instance Method Details

#call_setter(cookie) ⇒ Object

:nodoc:



8
9
10
# File 'lib/bona_fide/configuration.rb', line 8

def call_setter(cookie) #:nodoc:
  @base_class.send(@setter, cookie)
end