lib/starling/client.rb
# URLs for the two Starling Bank API environments, production and sandbox
URLs for the two Starling Bank API environments, production and sandbox
URLs for the two Starling Bank API environments production and sandbox
def fetch_base_url_for_environment(environment)
      ENVIRONMENT_BASE_URLS.fetch(environment) do
        raise ArgumentError, "#{environment} is not a valid environment, must be one " \
                             "of #{ENVIRONMENT_BASE_URLS.keys.join(', ')}"
      end
    end
def fetch_base_url_for_environment ( environment ) ENVIRONMENT_BASE_URLS . fetch ( environment ) do raise ArgumentError , "#{environment} is not a valid environment, must be one " "of #{ENVIRONMENT_BASE_URLS.keys.join(', ')}" end end
URLs for the two Starling Bank API environments, production and sandbox
URLs for the two Starling Bank API environments production and sandbox
environment
<not_specific>