Class: Fresh::Auth::Configuration

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

Defined Under Namespace

Classes: Url

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.


38
39
40
41
# File 'lib/fresh/auth/configuration.rb', line 38

def initialize
  @url = Url.new
  @nonce_salt = ''
end

Instance Attribute Details

#nonce_saltObject

Returns the value of attribute nonce_salt


7
8
9
# File 'lib/fresh/auth/configuration.rb', line 7

def nonce_salt
  @nonce_salt
end

#oauth_secretObject


43
44
45
46
# File 'lib/fresh/auth/configuration.rb', line 43

def oauth_secret
  raise "Fresh::Auth.configuration.oauth_secret cannot be blank" if @oauth_secret.blank?
  @oauth_secret
end

#urlObject

Returns the value of attribute url


7
8
9
# File 'lib/fresh/auth/configuration.rb', line 7

def url
  @url
end