Class: CatalogRuleRuleInfo

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

Overview

/Catalog.Rule.RuleInfo

rule_text - SOAP::SOAPString
rule_notes - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rule_text = nil, rule_notes = nil) ⇒ CatalogRuleRuleInfo

Returns a new instance of CatalogRuleRuleInfo.



10
11
12
13
# File 'lib/api/catalogrule/CatalogRule.rb', line 10

def initialize(rule_text = nil, rule_notes = nil)
  @rule_text = rule_text
  @rule_notes = rule_notes
end

Instance Attribute Details

#rule_notesObject

Returns the value of attribute rule_notes.



8
9
10
# File 'lib/api/catalogrule/CatalogRule.rb', line 8

def rule_notes
  @rule_notes
end

#rule_textObject

Returns the value of attribute rule_text.



7
8
9
# File 'lib/api/catalogrule/CatalogRule.rb', line 7

def rule_text
  @rule_text
end