Module: SelectiveAttributeProxy::ClassMethods
- Defined in:
- lib/aliyun/oss/extensions.rb
Instance Method Summary collapse
Instance Method Details
#proxy_to(attribute_name, options = {}) ⇒ Object
300 301 302 303 304 305 306 307 |
# File 'lib/aliyun/oss/extensions.rb', line 300 def proxy_to(attribute_name, = {}) if attribute_name.is_a?(Hash) = attribute_name else self.attribute_proxy = attribute_name end self. = end |