Sha256: f0f15cc3a0147d3866e370b2f292a3bdf89b3af9a640327904b60acc4c350c94
Contents?: true
Size: 441 Bytes
Versions: 6
Compression:
Stored size: 441 Bytes
Contents
# coding: utf-8 require 'faraday' require 'faraday_middleware' module GetGithubPubKeys module Connection def self.new( options = {} ) Faraday.new( url: 'https://api.github.com' ) do |faraday| faraday.request :url_encoded faraday.request :json faraday.response :json, :content_type => /\bjson$/ faraday.response :logger faraday.adapter Faraday.default_adapter end end end end
Version data entries
6 entries across 6 versions & 1 rubygems