module Gratitude::Connection

Public Instance Methods

faraday() click to toggle source
# File lib/gratitude/connection.rb, line 5
def faraday
  @faraday ||= Faraday.new(url: "https://gratipay.com/") do |faraday|
    faraday.response :json, content_type: /\bjson$/
    faraday.adapter Faraday.default_adapter
  end
end