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.""==== Example""   class User < AR"K     acts_as_mail_receiver :payload_columns => %w{firstname lastname},"O                           :groups => %w{all english_users chinese_users},"D                           :skip_method_existance_check => true"   end":@line_rangeo:
Range:endi:
begini:	exclF;[:@ref_tags[:
@summary0:@objectu:YARD::StubProxyGMailEngine::ActsAsMailReceiver::ClassMethods#acts_as_mail_receiver:@namespaceu;!1MailEngine::ActsAsMailReceiver::ClassMethods:
@dynamicT:@parameters[["options0:@docstring_extra0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mail_engine-0.1.6 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.5 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.4 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.3 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.2 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.1 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat