class Elrond::Api::Configuration
Attributes
endpoints[RW]
faraday[RW]
verbose[RW]
Public Class Methods
new()
click to toggle source
# File lib/elrond/api/configuration.rb, line 6 def initialize self.endpoints = { wallet: { host: "https://api.elrond.com", headers: { "Host" => "wallet-api.elrond.com", "origin" => "https://explorer.elrond.com", "referer" => "https://explorer.elrond.com/" } } } self.faraday = { adapter: :net_http, timeout: 120, open_timeout: 60 } self.verbose = false end