class Slack::RPC::Response
## Slack::RPC::Response
A class that represents Slack-RPC style command response
Attributes
body[R]
headers[R]
status[R]
Public Class Methods
new(faraday_response)
click to toggle source
### Slack::RPC::Response.new(faraday_response)
Creates a new instance of `Slack::RPC::Response` class
# File lib/slack/rpc/response.rb, line 13 def initialize(faraday_response) @status = faraday_response.status @headers = faraday_response.headers @body = faraday_response.body end