Class: Ribbon::Intercom::Client::SDK::Adapters::Adapter::Response

Inherits:
Rack::Response
  • Object
show all
Defined in:
lib/ribbon/intercom/client/sdk/adapters/adapter/response.rb

Instance Method Summary collapse

Instance Method Details

#bodyObject



4
5
6
# File 'lib/ribbon/intercom/client/sdk/adapters/adapter/response.rb', line 4

def body
  super.join
end

#packetObject



8
9
10
# File 'lib/ribbon/intercom/client/sdk/adapters/adapter/response.rb', line 8

def packet
  @__packet ||= Packet.decode(body) unless body.empty?
end