Class: CatalogRuleSyntaxCheck

Inherits:
Object
  • Object
show all
Defined in:
lib/api/catalogrule/CatalogRule.rb

Overview

/Catalog.Rule.SyntaxCheck

valid - SOAP::SOAPBoolean
warnings - SOAP::SOAPString
errors - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(valid = nil, warnings = nil, errors = nil) ⇒ CatalogRuleSyntaxCheck

Returns a new instance of CatalogRuleSyntaxCheck.



25
26
27
28
29
# File 'lib/api/catalogrule/CatalogRule.rb', line 25

def initialize(valid = nil, warnings = nil, errors = nil)
  @valid = valid
  @warnings = warnings
  @errors = errors
end

Instance Attribute Details

#errorsObject

Returns the value of attribute errors.



23
24
25
# File 'lib/api/catalogrule/CatalogRule.rb', line 23

def errors
  @errors
end

#validObject

Returns the value of attribute valid.



21
22
23
# File 'lib/api/catalogrule/CatalogRule.rb', line 21

def valid
  @valid
end

#warningsObject

Returns the value of attribute warnings.



22
23
24
# File 'lib/api/catalogrule/CatalogRule.rb', line 22

def warnings
  @warnings
end