Class: Braintree::VenmoProfileData

Inherits:
Object
  • Object
show all
Includes:
BaseModule
Defined in:
lib/braintree/venmo_profile_data.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from BaseModule

included

Methods included from BaseModule::Methods

#copy_instance_variables_from_object, #return_object_or_raise, #set_instance_variables_from_hash, #singleton_class

Constructor Details

#initialize(attributes) ⇒ VenmoProfileData

:nodoc:


11
12
13
# File 'lib/braintree/venmo_profile_data.rb', line 11

def initialize(attributes) # :nodoc:
  set_instance_variables_from_hash(attributes)
end

Instance Attribute Details

#emailObject (readonly)

Returns the value of attribute email.


9
10
11
# File 'lib/braintree/venmo_profile_data.rb', line 9

def email
  @email
end

#first_nameObject (readonly)

Returns the value of attribute first_name.


6
7
8
# File 'lib/braintree/venmo_profile_data.rb', line 6

def first_name
  @first_name
end

#last_nameObject (readonly)

Returns the value of attribute last_name.


7
8
9
# File 'lib/braintree/venmo_profile_data.rb', line 7

def last_name
  @last_name
end

#phone_numberObject (readonly)

Returns the value of attribute phone_number.


8
9
10
# File 'lib/braintree/venmo_profile_data.rb', line 8

def phone_number
  @phone_number
end

#usernameObject (readonly)

Returns the value of attribute username.


5
6
7
# File 'lib/braintree/venmo_profile_data.rb', line 5

def username
  @username
end

Class Method Details

._new(*args) ⇒ Object

:nodoc:


19
20
21
# File 'lib/braintree/venmo_profile_data.rb', line 19

def self._new(*args) # :nodoc:
  self.new(*args)
end