Skip to content

Commit

Permalink
Update Pluto+Binding.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
lm2343635 authored Sep 6, 2020
1 parent 0dbdfb3 commit 7c300da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pluto/Classes/Core/Pluto+Binding.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extension Pluto {
}
}

public func binding(type: LoginType, authString: String, success: (() -> Void)? = nil, error: ErrorCompletion? = nil) {
public func bind(type: LoginType, authString: String, success: (() -> Void)? = nil, error: ErrorCompletion? = nil) {
var parameters = [
"type": type.identifier
]
Expand Down Expand Up @@ -74,7 +74,7 @@ extension Pluto {
}
}

public func unbinding(type: LoginType, success: (() -> Void)? = nil, error: ErrorCompletion? = nil) {
public func unbind(type: LoginType, success: (() -> Void)? = nil, error: ErrorCompletion? = nil) {
guard let bindings = avialiableBindings else {
error?(PlutoError.notSignin)
return
Expand Down

0 comments on commit 7c300da

Please sign in to comment.