Module: ZendeskAppsSupport::Validations::Stylesheets

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

Class Method Summary collapse

Class Method Details

.call(package) ⇒ Object



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

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