class CoinRail::HTTP::Connection
Public Class Methods
new(key, secret)
click to toggle source
# File lib/coinrail/http.rb, line 16 def initialize(key, secret) @connection = Faraday::Connection.new(:url => 'https://api.coinrail.co.kr') do |f| f.request :json f.response :json f.use Authentication, key, secret f.adapter Faraday.default_adapter end end