Sha256: a91bfebea70d05b257b5904a6d897b0a6b1db3d7a3b33df63935a4639eb27eb2

Contents?: true

Size: 1.77 KB

Versions: 9

Compression:

Stored size: 1.77 KB

Contents

o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsT:
@linei :@scope:
instance:@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:@ref_tags[:@objectu:YARD::StubProxyGMailEngine::ActsAsMailReceiver::ClassMethods#acts_as_mail_receiver:
@summary0:	@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:
@tags[:@parameters[["options0:@namespaceu;1MailEngine::ActsAsMailReceiver::ClassMethods:@files[["-lib/mail_engine/acts_as_mail_receiver.rbi :
@name:acts_as_mail_receiver:
@dynamicT:
@path"GMailEngine::ActsAsMailReceiver::ClassMethods#acts_as_mail_receiver:@docstring_extra0:@visibility:public:@source_type:	ruby:@signature"'def acts_as_mail_receiver(options):@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;[

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mail_engine-0.1.15 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.14 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.13 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.12 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.11 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.10 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.9 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.8 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat
mail_engine-0.1.7 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat