Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 160

Show
Ignore:
Timestamp:
07/04/01 12:32:19 (8 years ago)
Author:
nakahiro
Message:

SOAPFault: faultCode -> faultcode, faultString -> faultstring and faultActor ->

faultactor.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/soap/element.rb

    r150 r160  
    3131public 
    3232 
    33   attr_accessor :faultCode 
    34   attr_accessor :faultString 
    35   attr_accessor :faultActor 
     33  attr_accessor :faultcode 
     34  attr_accessor :faultstring 
     35  attr_accessor :faultactor 
    3636  attr_accessor :detail 
    3737  attr_reader :options 
     
    3939  def initialize( faultCode = nil, faultString = nil, faultActor = nil, detail = nil, options = [] ) 
    4040    super( self.type.to_s ) 
    41     @faultCode = faultCode 
    42     @faultString = faultString 
    43     @faultActor = faultActor 
     41    @faultcode = faultCode 
     42    @faultstring = faultString 
     43    @faultactor = faultActor 
    4444    @detail = detail 
    4545    @options = options 
     
    4747 
    4848  def encode( ns ) 
    49     faultElems = [ @faultCode.encode( ns, 'faultcode' ), 
    50       @faultString.encode( ns, 'faultstring' ), 
    51       @faultActor.encode( ns, 'faultactor' ) ] 
     49    faultElems = [ @faultcode.encode( ns, 'faultcode' ), 
     50      @faultstring.encode( ns, 'faultstring' ), 
     51      @faultactor.encode( ns, 'faultactor' ) ] 
    5252    faultElems.push( @detail.encode( ns, 'detail' )) if @detail 
    5353    @options.each do | opt |