class Starling::Resources::ContactResource

A resource representing a Contact returned from the Contacts API

Public Instance Methods

id() click to toggle source

@return [String] the Starling internal ID of the contact

# File lib/starling/resources/contact_resource.rb, line 6
def id
  parsed_data['id']
end
name() click to toggle source

@return [String] the name of the contact

# File lib/starling/resources/contact_resource.rb, line 11
def name
  parsed_data['name']
end