Sha256: a9662efcc0abe3877ed35bc1b9363a4c71df87a76284c7e7720322e0c988dee7
Contents?: true
Size: 600 Bytes
Versions: 1
Compression:
Stored size: 600 Bytes
Contents
require File.expand_path('../connection', __FILE__) require File.expand_path('../request', __FILE__) require File.expand_path('../configuration', __FILE__) require File.expand_path('../endpoint', __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 include Endpoint end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-web-api-0.0.1 | lib/slack/api.rb |