module LolcationClient::Configurations
Public Instance Methods
configs()
click to toggle source
# File lib/lolcation_client/configurations.rb, line 3 def configs Rails.application.config_for(:lolcation) end
sandbox?()
click to toggle source
# File lib/lolcation_client/configurations.rb, line 15 def sandbox? configs["sandbox"] || false end
service_url()
click to toggle source
# File lib/lolcation_client/configurations.rb, line 7 def service_url "#{configs['servie_url']}/api/v1/localizations" end
token()
click to toggle source
# File lib/lolcation_client/configurations.rb, line 11 def token configs["token"] end