class ZendeskAppsSupport::Product

Constants

CHAT
PRODUCTS_AVAILABLE

The product codes below match the values in the database, do not change them!

SELL
STANDALONE_CHAT
SUPPORT

Attributes

code[R]
legacy_name[R]
name[R]

Public Class Methods

all() click to toggle source
# File lib/zendesk_apps_support/product.rb, line 14
def self.all
  PRODUCTS_AVAILABLE
end
new(attrs) click to toggle source
# File lib/zendesk_apps_support/product.rb, line 8
def initialize(attrs)
  @code = attrs.fetch(:code)
  @name = attrs.fetch(:name)
  @legacy_name = attrs.fetch(:legacy_name)
end