class Ant::Configuration::Autoconfigs::RESTClient

Public Class Methods

from_config(config) click to toggle source
# File lib/ant/configs/autoconfigs/rest_client.rb, line 7
def self.from_config(config)
  require 'ant/client'
  new(config)
end
new(config) click to toggle source
# File lib/ant/configs/autoconfigs/rest_client.rb, line 12
def initialize(config)
  @config = config
  @connection = Ant::Client::RESTClient.new(symbolize(config))
end

Public Instance Methods

raw() click to toggle source
# File lib/ant/configs/autoconfigs/rest_client.rb, line 21
def raw
  @connection
end
sanity_check() click to toggle source
# File lib/ant/configs/autoconfigs/rest_client.rb, line 17
def sanity_check
  true
end