Module: Card::FollowOption::ClassMethods
- Defined in:
- mod/05_email/lib/card/follow_option.rb
Instance Method Summary collapse
-
#follow_opts(args) ⇒ Object
args: position: <Fixnum> (starting at 1, default: add to end).
- #follow_test(opts = {}, &block) ⇒ Object
- #follower_candidate_ids(opts = {}, &block) ⇒ Object
-
#restrictive_follow_opts(args) ⇒ Object
args: position: <Fixnum> (starting at 1, default: add to end).
Instance Method Details
#follow_opts(args) ⇒ Object
args: position: <Fixnum> (starting at 1, default: add to end)
48 49 50 |
# File 'mod/05_email/lib/card/follow_option.rb', line 48 def follow_opts args add_option args, :main end |
#follow_test(opts = {}, &block) ⇒ Object
52 53 54 |
# File 'mod/05_email/lib/card/follow_option.rb', line 52 def follow_test opts={}, &block Card::FollowOption.test[get_codename(opts)] = block end |
#follower_candidate_ids(opts = {}, &block) ⇒ Object
56 57 58 |
# File 'mod/05_email/lib/card/follow_option.rb', line 56 def follower_candidate_ids opts={}, &block Card::FollowOption.follower_candidate_ids[get_codename(opts)] = block end |
#restrictive_follow_opts(args) ⇒ Object
args: position: <Fixnum> (starting at 1, default: add to end)
42 43 44 |
# File 'mod/05_email/lib/card/follow_option.rb', line 42 def restrictive_follow_opts args add_option args, :restrictive end |