Class: Billogram::Contact

Inherits:
Resource show all
Defined in:
lib/billogram/resources/contact.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

build_objects, #initialize, relation, relations, #to_hash, #to_json

Constructor Details

This class inherits a constructor from Billogram::Resource

Instance Attribute Details

#emailObject

Returns the value of attribute email.



3
4
5
# File 'lib/billogram/resources/contact.rb', line 3

def email
  @email
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/billogram/resources/contact.rb', line 3

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



3
4
5
# File 'lib/billogram/resources/contact.rb', line 3

def phone
  @phone
end