Skip to content

Commit

Permalink
Updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fjcaetano committed Nov 12, 2018
1 parent 484ed94 commit 59c5223
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ fastlane/Preview.html
fastlane/screenshots
fastlane/README.md
fastlane/test_output

## VS Code
.vscode
12 changes: 10 additions & 2 deletions ReCaptcha/Classes/ReCaptcha.swift
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,22 @@ public class ReCaptcha {
manager.reset()
}

// MARK: - Development

#if DEBUG
/// Forces the challenge to be explicitly displayed.
/// Forces the challenge widget to be explicitly displayed.
public var forceVisibleChallenge: Bool {
get { return manager.forceVisibleChallenge }
set { manager.forceVisibleChallenge = newValue }
}

/// Allows validation stubbing for testing
/**
Allows validation stubbing for testing
When this property is set to `true`, every call to `validate()` will immediately be resolved with `.token("")`.
Use only when testing your application.
*/
public var shouldSkipForTests: Bool {
get { return manager.shouldSkipForTests }
set { manager.shouldSkipForTests = newValue }
Expand Down
1 change: 0 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ platform :ios do
executable: "Example/Pods/Swiftlint/swiftlint",
strict: true,
reporter: "emoji",

)

# The problem lies in the fact (or rather: serious bug in xcodebuild) that
Expand Down

0 comments on commit 59c5223

Please sign in to comment.