Class: Jot::Configuration

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

Instance Attribute Summary collapse

Instance Attribute Details

#algorithmObject

Returns the value of attribute algorithm.



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

def algorithm
  @algorithm
end

#expiration_time_in_secondsObject

Defaults to 1 hour



6
7
8
# File 'lib/jot/configuration.rb', line 6

def expiration_time_in_seconds
  @expiration_time_in_seconds
end

#secretObject

Returns the value of attribute secret.



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

def secret
  @secret
end