Sha256: 24842912ac68bd54004ca0c6093da388e425ae6ee8f40213aa79fd45a1f51765
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
require File.expand_path('../connection', __FILE__) require File.expand_path('../request', __FILE__) require File.expand_path('../configuration', __FILE__) module Slack # @private class API # @private attr_accessor *Configuration::VALID_OPTIONS_KEYS # Creates a new API def initialize(options={}) options = Slack.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end include Connection include Request end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slack-api-0.0.4 | lib/slack/api.rb |
slack-api-0.0.3 | lib/slack/api.rb |