Class: SlackMessaging::Slack
- Inherits:
-
Object
- Object
- SlackMessaging::Slack
- Defined in:
- lib/slack_messaging/slack.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Class Method Summary collapse
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/slack_messaging/slack.rb', line 3 def @options end |
Class Method Details
.execute(args, options = nil) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/slack_messaging/slack.rb', line 5 def self.execute(args, = nil) if args.empty? = SlackMessaging::RandomMessage.acquire_random_quote () else args.each do || () end end end |