Visitar URL original
Added Frappe.io OAuth2 API by revant · Pull Request #780 · scribejava/scribejava · GitHub
Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Fix] FrappeApi private variable and accessor
  • Loading branch information
revant committed Jul 11, 2017
commit 91914cfb8bbdb21b720c8ffa751f8e5ea3394280
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

public class FrappeApi extends DefaultApi20 {

String serverURL = "https://erpnext.org";
private String serverURL = "https://erpnext.org";

protected FrappeApi() {
}
Expand All @@ -20,6 +20,14 @@ public static FrappeApi instance() {
return InstanceHolder.INSTANCE;
}

public String getServerURL() {
return this.serverURL;
}

public void setServerURL(String serverURL) {
this.serverURL = serverURL;
}

@Override
public Verb getAccessTokenVerb() {
return Verb.POST;
Expand Down