Sha256: 20aedc7002cb3ccde7cad4dbd86b9f90fce0eaf481578eb60b2815b4032254b3
Contents?: true
Size: 772 Bytes
Versions: 27
Compression:
Stored size: 772 Bytes
Contents
class ResponseFixture def self.authentication(value = nil) case value when :to_hash { :success => true, :authentication_value => { :token => "a68d1d6379b62ff339a0e0c69ed4d9cf", :token_hash => "AAAJxA;cIedoT;mY10ExZwG6JuKgp2OYKxow==", :client => "radclient" } } else @@authentication ||= load_fixture :authentication end end def self.soap_fault @@soap_fault ||= load_fixture :soap_fault end def self.soap_fault12 @@soap_fault12 ||= load_fixture :soap_fault12 end def self.multi_ref @@multi_ref ||= load_fixture :multi_ref end private def self.load_fixture(fixture) File.read File.dirname(__FILE__) + "/xml/#{fixture}.xml" end end
Version data entries
27 entries across 27 versions & 6 rubygems