Module: Mail::Retrievable

Defined in:
lib/mail/network/retrievable.rb

Class Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

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



13
14
15
# File 'lib/mail/network/retrievable.rb', line 13

def method_missing(name, *args, &block)
  Mail.defaults.retriever_method.__send__(name, *args, &block)
end

Class Method Details

.method_missing(name, *args, &block) ⇒ Object



13
14
15
# File 'lib/mail/network/retrievable.rb', line 13

def method_missing(name, *args, &block)
  Mail.defaults.retriever_method.__send__(name, *args, &block)
end