Sha256: e40b748b67b510b3c1954d25933cfb0b010bcbe4972ff48c293c81ec2e79c1f9

Contents?: true

Size: 1.77 KB

Versions: 1

Compression:

Stored size: 1.77 KB

Contents

o:$YARD::CodeObjects::MethodObject:@current_file_has_commentsT:
@linei :@signature"'def acts_as_mail_receiver(options):@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:
@tags[:@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:@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:@parameters[["options0:@docstring_extra0:@visibility:public:@source_type:	ruby:@explicitT

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mail_engine-0.1.0 .yardoc/objects/MailEngine/ActsAsMailReceiver/ClassMethods/acts_as_mail_receiver_i.dat