Class: Freelancer::Rails::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/freelancer-rails/configuration.rb

Class Method Summary collapse

Class Method Details

.api_secretObject



11
12
13
# File 'lib/freelancer-rails/configuration.rb', line 11

def api_secret
  configuration["api_secret"]
end

.api_tokenObject



7
8
9
# File 'lib/freelancer-rails/configuration.rb', line 7

def api_token
  configuration["api_token"]
end

.sandbox_mode?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/freelancer-rails/configuration.rb', line 15

def sandbox_mode?
  configuration["sandbox_mode"] == true
end