Module: Slack::Manifest
- Defined in:
- lib/slack/manifest.rb
Class Method Summary collapse
Class Method Details
.share_url ⇒ Object
8 9 10 |
# File 'lib/slack/manifest.rb', line 8 def share_url "https://api.slack.com/apps?new_app=1&manifest_json=#{ERB::Util.url_encode(to_json)}" end |
.to_h ⇒ Object
12 13 14 15 16 17 18 19 |
# File 'lib/slack/manifest.rb', line 12 def to_h { display_information: display_information, features: features, oauth_config: oauth_config, settings: settings } end |