Class: Remit::BaseResponse

Inherits:
Relax::Response
  • Object
show all
Defined in:
lib/remit2/response.rb

Instance Method Summary collapse

Instance Method Details

#node_name(name, namespace = nil) ⇒ Object



3
4
5
# File 'lib/remit2/response.rb', line 3

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