class HelpScout::Source
Source
developer.helpscout.net/objects/source/
Name Type Example Notes type String email The method from which this conversation (or thread) was created. via String customer
Possible values for type include:
Possible values for via include:
Constants
- TYPE_EMAIL
- TYPE_FWD
- TYPE_NOTIFICATION
- TYPE_WEB
- VIA_CUSTOMER
- VIA_USER
Attributes
type[R]
via[R]
Public Class Methods
new(object)
click to toggle source
Creates a new Source
object from a Hash of attributes
# File lib/helpscout/models.rb, line 850 def initialize(object) @type = object["type"] @via = object["via"] end