Module: Fullscriptapi::Servers

Included in:
Fullscriptapi
Defined in:
lib/fullscriptapi/servers.rb

Constant Summary collapse

SERVERS =
{
  "dev" => "http://localhost:3000",
  "us_snd" => "https://api-us-snd.fullscript.io",
  "ca_snd" => "https://api-ca-snd.fullscript.io",
  "us_prod" => "https://api-us.fullscript.io",
  "ca_prod" => "https://api-ca.fullscript.io"
}.freeze

Instance Method Summary collapse

Instance Method Details

#get_serverObject



13
14
15
# File 'lib/fullscriptapi/servers.rb', line 13

def get_server
  SERVERS["#{server}"]
end