Class: Credigy::CampaignNegotiationResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/credigy/campaign_negotiation_response.rb

Instance Attribute Summary

Attributes inherited from Response

#raw_response, #requester

Instance Method Summary collapse

Methods inherited from Response

#body, #initialize, #root_key, #sub_root_key

Constructor Details

This class inherits a constructor from Credigy::Response

Instance Method Details

#allObject



5
6
7
# File 'lib/credigy/campaign_negotiation_response.rb', line 5

def all
  Array.wrap(body[:campaign_negotiations][:campaign_negotiation])
end