Class: Async::Slack::Wrapper::Parser
- Inherits:
-
HTTP::Body::Wrapper
- Object
- HTTP::Body::Wrapper
- Async::Slack::Wrapper::Parser
- Defined in:
- lib/async/slack/representation.rb
Instance Method Summary collapse
Instance Method Details
#join ⇒ Object
43 44 45 46 47 48 49 50 51 |
# File 'lib/async/slack/representation.rb', line 43 def join body = ::JSON.parse(super, symbolize_names: true) if error = body[:error] raise REST::Error, error end return body end |