class Environment
Class to get the api url given an environment name
Constants
- DEVELOPMENT
- PRODUCTION
- SANDBOX
Public Class Methods
get_url(environment)
click to toggle source
# File lib/belvo/utils.rb, line 21 def self.get_url(environment) nil unless environment begin const_get environment.upcase rescue NameError environment end end