Module: ZendeskAppsSupport::Validations::Stylesheets

Defined in:
lib/zendesk_apps_support/validations/stylesheets.rb

Class Method Summary collapse

Class Method Details

.call(package) ⇒ Object



8
9
10
11
# File 'lib/zendesk_apps_support/validations/stylesheets.rb', line 8

def call(package)
  css_error = validate_styles(package.app_css)
  css_error ? [css_error] : []
end