class Xhash::ApiClient
Public Class Methods
api_base()
click to toggle source
# File lib/xhash/client/api_client.rb, line 11 def self.api_base @api_base end
api_base=(api_base)
click to toggle source
# File lib/xhash/client/api_client.rb, line 15 def self.api_base=(api_base) @api_base = api_base end
api_key()
click to toggle source
# File lib/xhash/client/api_client.rb, line 19 def self.api_key @api_key end
api_key=(api_key)
click to toggle source
# File lib/xhash/client/api_client.rb, line 23 def self.api_key=(api_key) @api_key = api_key end
config() { |self| ... }
click to toggle source
# File lib/xhash/client/api_client.rb, line 7 def self.config yield self end
timeout()
click to toggle source
# File lib/xhash/client/api_client.rb, line 27 def self.timeout @timeout end
timeout=(timeout)
click to toggle source
# File lib/xhash/client/api_client.rb, line 31 def self.timeout=(timeout) @timeout = timeout end