Skip to content

Commit 3a98d8f

Browse files
authored
removes ds store, binding.pry and updates readme (#22)
1 parent 8811c0a commit 3a98d8f

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.DS_Store

-6 KB
Binary file not shown.

ruby-admin-portal-example/app.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,16 @@
1818
organizations = WorkOS::Organizations.list_organizations(
1919
domains: domains
2020
)
21-
binding.pry
2221
if organizations.data.length == 0
2322
$organization = WorkOS::Organizations.create_organization(
2423
name: organizationName,
2524
domains: domains
2625
)
2726

28-
erb :loggedin
27+
erb :logged_in
2928
else
3029
$organization = organizations.data[0]
31-
erb :loggedin
30+
erb :logged_in
3231
end
3332

3433
end

ruby-mfa-example/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ cd ruby-example-applications/ruby-mfa-example && bundle install
2727
ruby app.rb
2828
```
2929

30-
Head to `http://localhost:4567` and you're all set!
30+
Head to `http://localhost:4567`
31+
32+
When testing SMS use the {{code}} parameter in your string as well as whatever other message details that you'd like to send as this will generate a random code that the user can verify
3133

3234
For more information, see the [WorkOS Ruby SDK documentation](https://docs.workos.com/sdk/ruby).

ruby-sso-example/.DS_Store

-6 KB
Binary file not shown.

0 commit comments

Comments
 (0)