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
30 31 32 33 34 35 36 37 38 |
# File 'lib/async/slack/representation.rb', line 30 def join value = ::JSON.parse(super, symbolize_names: true) if error = value[:error] raise Error, error end return value end |