Sha256: 54df93cf3a8e3c886d0be84d0309ba773e53c5177a8ba1ae047d6387160a1d4d
Contents?: true
Size: 1.77 KB
Versions: 6
Compression:
Stored size: 1.77 KB
Contents
o:$YARD::CodeObjects::MethodObject:@visibility:public:@source_type: ruby:@scope: instance:@source"údef acts_as_mail_receiver(options) [:payload_columns, :groups].each do |key| methods_array = Array.wrap(options[key]) || [] self.send("#{key}=", methods_array) end check_method_existance! unless options[:skip_method_existance_check] end:@explicitT: @tags[ :@current_file_has_commentsT: @linei :@signature"'def acts_as_mail_receiver(options):@files[["-lib/mail_engine/acts_as_mail_receiver.rbi : @name:acts_as_mail_receiver: @path"GMailEngine::ActsAsMailReceiver::ClassMethods#acts_as_mail_receiver:@docstringIC:YARD::Docstring"¤NOTICE: Please put this code below any "scope" statement. Here you can define: 1. Which columns can be acted as payload items. 2. Which methods can be user group scopes. ==== Example class User < AR acts_as_mail_receiver :payload_columns => %w{firstname lastname}, :groups => %w{all english_users chinese_users}, :skip_method_existance_check => true end: @all[">NOTICE: Please put this code below any "scope" statement."Here you can define:"41. Which columns can be acted as payload items."/2. Which methods can be user group scopes."