Sha256: db82d82a00411d3ae3fc794cfc2f94bcd00e8ada46b54783e75d4b49f88c436b
Contents?: true
Size: 407 Bytes
Versions: 3
Compression:
Stored size: 407 Bytes
Contents
require 'kintone/client' TEST_AUTH_HEADER = 'c2NvdHQ6dGlnZXI=' def kintone_client stubs = Faraday::Adapter::Test::Stubs.new Kintone::Client.new(subdomain: 'foo', login_name: 'scott', password: 'tiger') do |faraday| faraday.adapter :test, stubs do |stub| yield(stub) end end end def params_from_url(env) query = URI.parse(env.url.to_s).query query ? URI.decode(query) : query end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kintone-client-0.1.3 | spec/spec_helper.rb |
kintone-client-0.1.2 | spec/spec_helper.rb |
kintone-client-0.1.1 | spec/spec_helper.rb |