bin/telnyx-console in telnyx-2.3.0 vs bin/telnyx-console in telnyx-2.4.0
- old
+ new
@@ -11,7 +11,12 @@
# Config IRB to enable --simple-prompt and auto indent
IRB.conf[:PROMPT_MODE] = :SIMPLE
IRB.conf[:AUTO_INDENT] = true
puts "Loaded gem 'telnyx'"
+def load_mock_settings!
+ Telnyx.api_base = "http://localhost:12111"
+ Telnyx.api_key = "KEYSUPERSECRET"
+ nil
+end
IRB.start