class Kybus::Configuration::Autoconfigs::RESTClient
Public Class Methods
from_config(config)
click to toggle source
# File lib/kybus/configs/autoconfigs/rest_client.rb, line 9 def self.from_config(config) require 'kybus/client' new(config) end
new(config)
click to toggle source
# File lib/kybus/configs/autoconfigs/rest_client.rb, line 14 def initialize(config) @config = config @connection = Kybus::Client::RESTClient.new(symbolize(config)) end
Public Instance Methods
raw()
click to toggle source
# File lib/kybus/configs/autoconfigs/rest_client.rb, line 19 def raw @connection end