Sha256: caa6549aacdba34c0a4c2348ca6d870fd2ff92943cc4489c9633f58f31b867f7
Contents?: true
Size: 403 Bytes
Versions: 4
Compression:
Stored size: 403 Bytes
Contents
require 'test/unit' require 'cloudflare' class HostTest < Test::Unit::TestCase def test_client_connection cf = CloudFlare.new('example_api', 'example@example.com') assert_equal('E_UNAUTH', cf.ipv46('example.com', true)['err_code']) end def test_host_connection cf = CloudFlare.new('example_api') assert_equal(100, cf.user_auth('example.com', 'password')['err_code']) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cloudflare-1.1.3 | test/test_cloudflare.rb |
cloudflare-1.1.2 | test/test_cloudflare.rb |
cloudflare-1.1.1 | test/test_cloudflare.rb |
cloudflare-1.1.0 | test/test_cloudflare.rb |