Class: Conekta::CustomerInfo

Inherits:
Resource show all
Defined in:
lib/conekta/customer_info.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#id

Attributes inherited from ConektaObject

#values

Method Summary

Methods inherited from Resource

#_url, _url, #create_member_with_relation, #initialize, underscored_class

Methods inherited from ConektaObject

#class_name, class_name, #create_attr, #first, #initialize, #inspect, #last, #load_from, #set_val, #to_s, #unset_key

Constructor Details

This class inherits a constructor from Conekta::Resource

Instance Attribute Details

#corporateObject

Returns the value of attribute corporate.



3
4
5
# File 'lib/conekta/customer_info.rb', line 3

def corporate
  @corporate
end

#emailObject

Returns the value of attribute email.



3
4
5
# File 'lib/conekta/customer_info.rb', line 3

def email
  @email
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/conekta/customer_info.rb', line 3

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



3
4
5
# File 'lib/conekta/customer_info.rb', line 3

def phone
  @phone
end