Class: Textmagic::REST::Contact
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Textmagic::REST::Contact
- Defined in:
- lib/textmagic-ruby/rest/contacts.rb
Overview
A Contact resource.
@id
@phone
@first_name
@last_name
@company_name
@country
Hash like this
{
"id" => "US",
"name" => "United States",
}
@custom_fields
Array of Hashes, each looks like this
{
"value" => "30",
"id" => "1044",
"name" => "Age",
"createdAt" => "2015-04-27T09:29:46+0000",
}
Method Summary
Methods inherited from InstanceResource
#initialize, #inspect, #load_attributes, #refresh
Methods included from Utils
#key_map, #resource, #to_camel_case, #to_underscore_case
Constructor Details
This class inherits a constructor from Textmagic::REST::InstanceResource