Class: Twilio::REST::Marketplace::V1::ReferralConversionList::CreateReferralConversionRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_sidObject

Parameters:



24
25
26
# File 'lib/twilio-ruby/rest/marketplace/v1/referral_conversion.rb', line 24

def 
  @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(options = {})
{
        "referral_account_sid": @referral_account_sid,
}.to_json(options)
end