File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ Set Args = Wscript.Arguments
1818If Args.Length > 0 Then
1919 WBPath = Args( 0 )
2020 OutputPath = Args( 1 )
21+ Else
22+ WBPath = "specs\Excel-REST - Specs.xlsm"
23+ OutputPath = "src\"
2124End If
2225
2326' Setup modules to export
Original file line number Diff line number Diff line change @@ -16,14 +16,15 @@ Attribute VB_Name = "RestClientBase"
1616Option Explicit
1717
1818' > Customize with BaseUrl
19- Private Const BaseUrl As String = ""
19+ Private Const DefaultBaseUrl As String = ""
2020Private Const TimeoutMS As Integer = 5000
2121Private Initialized As Boolean
2222
2323' --------------------------------------------- '
2424' Properties
2525' --------------------------------------------- '
2626
27+ Public BaseUrl As String
2728Public ProxyServer As String
2829Public ProxyUsername As String
2930Public ProxyPassword As String
@@ -51,8 +52,12 @@ End Sub
5152
5253
5354Private Sub Initialize ()
55+ If BaseUrl = "" Then
56+ BaseUrl = DefaultBaseUrl
57+ End If
58+
5459 ' > Customize with any properties
55-
60+
5661 Initialized = True
5762End Sub
5863
You can’t perform that action at this time.
0 commit comments