Class: ChargeBee::Gift::GiftReceiver

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/gift.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #to_s, uri_path

Constructor Details

This class inherits a constructor from ChargeBee::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ChargeBee::Model

Instance Attribute Details

#customer_idObject

Returns the value of attribute customer_id.



9
10
11
# File 'lib/chargebee/models/gift.rb', line 9

def customer_id
  @customer_id
end

#emailObject

Returns the value of attribute email.



9
10
11
# File 'lib/chargebee/models/gift.rb', line 9

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name.



9
10
11
# File 'lib/chargebee/models/gift.rb', line 9

def first_name
  @first_name
end

#last_nameObject

Returns the value of attribute last_name.



9
10
11
# File 'lib/chargebee/models/gift.rb', line 9

def last_name
  @last_name
end

#subscription_idObject

Returns the value of attribute subscription_id.



9
10
11
# File 'lib/chargebee/models/gift.rb', line 9

def subscription_id
  @subscription_id
end