Module: Soap

Defined in:
lib/soap.rb,
lib/soap/parser.rb,
lib/soap/string.rb,
lib/soap/webservice.rb,
lib/soap/parser/types.rb,
lib/soap/parser/binding.rb,
lib/soap/parser/message.rb,
lib/soap/parser/service.rb,
lib/soap/parser/port_type.rb,
lib/soap/webservice/error.rb,
lib/soap/webservice/client.rb,
lib/soap/webservice/request.rb,
lib/soap/webservice/response.rb,
lib/soap/webservice/fault_error.rb

Defined Under Namespace

Modules: Parser, String, Webservice Classes: Base, Parse

Class Method Summary collapse

Class Method Details

.to_camelcase(str) ⇒ Object



29
30
31
32
33
# File 'lib/soap.rb', line 29

def to_camelcase(str)
  Soap::String.camelcase(
    Soap.to_snakecase(str)
  )
end

.to_snakecase(str) ⇒ Object



25
26
27
# File 'lib/soap.rb', line 25

def to_snakecase(str)
  Soap::String.snakecase(str)
end

.to_wsdl_camelcase(str) ⇒ Object



35
36
37
38
39
# File 'lib/soap.rb', line 35

def to_wsdl_camelcase(str)
  Soap::String.wsdl_camelcase(
    Soap.to_snakecase(str)
  )
end