Sha256: e935522bbd987a4d2e2326ab49d6bb21894a432d3c9a5322a92ae426b540f2cf
Contents?: true
Size: 277 Bytes
Versions: 4
Compression:
Stored size: 277 Bytes
Contents
module Slack module Request private alias_method :_request, :request def request(method, path, options) response = _request(method, path, options) fail response['error'] unless response['ok'] if response.is_a?(Hash) response end end end
Version data entries
4 entries across 4 versions & 1 rubygems