Class: Billogram::Contact

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

Constant Summary

Constants inherited from Resource

Resource::DEFAULT_OPTIONS

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

build_objects, create, delete, #delete, endpoint, #endpoint, fetch, #initialize, #perform_request, perform_request, relation, relations, search, #to_json, #update, update

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