module Mkmapi
Constants
- VERSION
Public Class Methods
auth(params)
click to toggle source
# File lib/mkmapi.rb, line 24 def self.auth(params) Session.new connection, params end
connect(url = "https://api.cardmarket.com/ws/v2.0")
click to toggle source
# File lib/mkmapi.rb, line 14 def self.connect(url = "https://api.cardmarket.com/ws/v2.0") @connection = Faraday.new url, ssl: { verify: false } do |faraday| # faraday.response :logger faraday.adapter Faraday.default_adapter end end
connection()
click to toggle source
# File lib/mkmapi.rb, line 20 def self.connection @connection ||= connect end