Method: Aliyun::ECS#method_missing
- Defined in:
- lib/aliyun/ecs.rb
#method_missing(method_name, *args, &block) ⇒ Object
20 21 22 23 24 |
# File 'lib/aliyun/ecs.rb', line 20 def method_missing(method_name, *args,&block) super if /[A-Z]/ =~ method_name.to_s method_name = method_name.to_s.split('_').map{|w| w.capitalize }.join('').gsub '_','' proxy_to_aliyun(method_name, args[0],&block) end |