Class: ChargeBee::ApplyRule

Inherits:
Model
  • Object
show all
Defined in:
lib/chargebee/models/apply_rule.rb

Defined Under Namespace

Classes: Rule

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #respond_to_missing?, #to_s, uri_path

Constructor Details

This class inherits a constructor from ChargeBee::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ChargeBee::Model

Instance Attribute Details

#context ⇒ Object

Returns the value of attribute context.



8
9
10
# File 'lib/chargebee/models/apply_rule.rb', line 8

def context
  @context
end

#evaluate ⇒ Object

Returns the value of attribute evaluate.



8
9
10
# File 'lib/chargebee/models/apply_rule.rb', line 8

def evaluate
  @evaluate
end

#rule_id ⇒ Object

Returns the value of attribute rule_id.



8
9
10
# File 'lib/chargebee/models/apply_rule.rb', line 8

def rule_id
  @rule_id
end

#rules ⇒ Object

Returns the value of attribute rules.



8
9
10
# File 'lib/chargebee/models/apply_rule.rb', line 8

def rules
  @rules
end

#ruleset_id ⇒ Object

Returns the value of attribute ruleset_id.



8
9
10
# File 'lib/chargebee/models/apply_rule.rb', line 8

def ruleset_id
  @ruleset_id
end

#skip_failed_rules ⇒ Object

Returns the value of attribute skip_failed_rules.



8
9
10
# File 'lib/chargebee/models/apply_rule.rb', line 8

def skip_failed_rules
  @skip_failed_rules
end

#structured_expression ⇒ Object

Returns the value of attribute structured_expression.



8
9
10
# File 'lib/chargebee/models/apply_rule.rb', line 8

def structured_expression
  @structured_expression
end