Method: Aliyun::OSS::Base#method_missing

Defined in:
lib/aliyun/oss/base.rb

#method_missing(method, *args, &block) ⇒ Object (private)



229
230
231
232
233
234
235
236
237
238
# File 'lib/aliyun/oss/base.rb', line 229

def method_missing(method, *args, &block)
  case
  when attributes.has_key?(method.to_s) 
    attributes[method.to_s]
  when attributes.has_key?(method)
    attributes[method]
  else 
    super
  end
end