class HelpScout::Customer::SocialProfile

Customer::SocialProfile developer.helpscout.net/objects/customer/social-profile/

Name  Type    Example                        Notes
id    Int     9184                           Unique identifier
value String  https://twitter.com/helpscout  
type  String  twitter                        Type of social profile.

Possible values for type include:

Constants

TYPE_ABOUTME
TYPE_FACEBOOK
TYPE_FLICKR
TYPE_FOURSQUARE
TYPE_GOOGLE
TYPE_GOOGLE_PLUS
TYPE_LINKEDIN
TYPE_OTHER
TYPE_QUORA
TYPE_TUNGLEME
TYPE_TWITTER
TYPE_YOUTUBE

Attributes

id[R]
type[R]
value[R]

Public Class Methods

new(object) click to toggle source

Creates a new Customer::SocialProfile object from a Hash of attributes

# File lib/helpscout/models.rb, line 793
def initialize(object)
  @id = object["id"]
  @value = object["value"]
  @type = object["type"]
end