Class: Twilio::REST::Marketplace::V1::ReferralConversionList::CreateReferralConversionRequest
- Inherits:
-
Object
- Object
- Twilio::REST::Marketplace::V1::ReferralConversionList::CreateReferralConversionRequest
- Defined in:
- lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(payload) ⇒ CreateReferralConversionRequest
constructor
A new instance of CreateReferralConversionRequest.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(payload) ⇒ CreateReferralConversionRequest
Returns a new instance of CreateReferralConversionRequest.
25 26 27 |
# File 'lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb', line 25 def initialize(payload) @referral_account_sid = payload["referral_account_sid"] end |
Instance Attribute Details
#referral_account_sid ⇒ Object
24 25 26 |
# File 'lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb', line 24 def referral_account_sid @referral_account_sid end |
Instance Method Details
#to_json(options = {}) ⇒ Object
28 29 30 31 32 |
# File 'lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb', line 28 def to_json( = {}) { "referral_account_sid": @referral_account_sid, }.to_json() end |