GithubHelp home page GithubHelp logo

kiji's Issues

undefined method client.login

Hello there.
I'm having this problem.
Is there anything wrong?

client = Kiji::Client.new do |c|
      c.software_id   = ENV['EGOV_SOFTWARE_ID']
      c.api_end_point = ENV['EGOV_API_END_POINT']
    
      # 証明書 & 秘密鍵の attach
      c.cert = p12.certificate
      c.private_key = p12.key
    end
    
    # 利用者認証(Access Key の取得 & 設定)
    response = client.login("REGISTERED_USER_ID")
    xml = Nokogiri::XML(response.body)
    client.access_key = xml.at_xpath('//AccessKey').text

image

[bug report] Many RSpec's examples was failed by bad URI

I executed bundle exec rspec after bundle install. So many RSpec's was failed by bad URI

      URI::InvalidURIError:
        bad URI(is not URI?): https://<EGOV-SOFTWARE-ID>:<EGOV-BASIC-AUTH-PASSWORD>@api2.kn.e-gov.go.jp/shinsei/1/access/payment/9002015000243934

I think fixture's http_interactions.request.uri has a syntax error for Ruby's URI module.

How did you testing examples with RSpec? If you mind, could you write here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.