Sha256: 2e1c9e4813c72c36d8cfb52358f0a31a509f6759fec6b0b5b4cb7b3bcf0cc4eb
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
require 'kintone/client' TEST_AUTH_HEADER = 'c2NvdHQ6dGlnZXI=' def kintone_client stubs = Faraday::Adapter::Test::Stubs.new Kintone::Client.new(subdomein: '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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kintone-client-0.1.0 | spec/spec_helper.rb |