class HelpScout::Customer::Chat

Customer::Chat developer.helpscout.net/objects/customer/chat/

Name   Type    Example  Notes
id     Int     77183    Unique identifier
value  String  jsprout  
type   String  aim      Chat type

Possible values for type include:

Constants

TYPE_AIM
TYPE_GTALK
TYPE_ICQ
TYPE_MSN
TYPE_OTHER
TYPE_QQ
TYPE_SKYPE
TYPE_XMPP
TYPE_YAHOO

Attributes

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

Public Class Methods

new(object) click to toggle source

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

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