Class: Remit::BaseResponse

Inherits:
Relax::Response
  • Object
show all
Defined in:
lib/remit/common.rb

Instance Method Summary collapse

Instance Method Details

#node_name(name, namespace = nil) ⇒ Object



21
22
23
# File 'lib/remit/common.rb', line 21

def node_name(name, namespace=nil)
  super(name.to_s.gsub(/(^|_)(.)/) { $2.upcase }, namespace)
end