Skip to content

Commit

Permalink
Revert rubocop version (#48)
Browse files Browse the repository at this point in the history
* add 2fa endpoints

add example for 2fa

* change record_types

* typo fix

* update rubocop and it's config

* update to new verification api

* add required params to create connection

* Revert "update rubocop and its config"

This reverts commit d0f1281.

* lint

Co-authored-by: Dan Tolbert <dant@telnyx.com>
  • Loading branch information
pyrareae and d-telnyx committed Dec 17, 2020
1 parent 8034211 commit 7b62917
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/telnyx/verification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ def self.submit_code(phone_number: nil, code: nil)
end

OBJECT_NAME = "verify_verification".freeze
RESOURCE_PATH = "verifications"
RESOURCE_PATH = "verifications".freeze
end
end
8 changes: 4 additions & 4 deletions test/telnyx/credential_connection_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ class CredentialConnectionTest < Test::Unit::TestCase

should "create credential connection" do
CredentialConnection.create(
connection_name: "Test connection_name",
user_name: "Test user_name",
password: "correct-horse-battery-staple"
)
connection_name: "Test connection_name",
user_name: "Test user_name",
password: "correct-horse-battery-staple"
)
assert_requested :post, "#{Telnyx.api_base}/v2/credential_connections"
end

Expand Down

0 comments on commit 7b62917

Please sign in to comment.