Class: CommandTower::Clients::DecodedResponse

Inherits:
Object
  • Object
show all
Defined in:
app/services/command_tower/clients/decoded_response.rb

Overview

Internal handoff from provider decode_response → EndpointBase resource deserializer. Not a public product wrapper; not placed on ClientResult#output.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(payload:, provider_metadata: {}) ⇒ DecodedResponse

Returns a new instance of DecodedResponse.



10
11
12
13
# File 'app/services/command_tower/clients/decoded_response.rb', line 10

def initialize(payload:, provider_metadata: {})
  @payload = payload
  @provider_metadata = 
end

Instance Attribute Details

#payloadObject (readonly)

Returns the value of attribute payload.



8
9
10
# File 'app/services/command_tower/clients/decoded_response.rb', line 8

def payload
  @payload
end

#provider_metadataObject (readonly)

Returns the value of attribute provider_metadata.



8
9
10
# File 'app/services/command_tower/clients/decoded_response.rb', line 8

def 
  @provider_metadata
end