Class: ChargeBee::Rule
Instance Attribute Summary collapse
-
#conditions ⇒ Object
Returns the value of attribute conditions.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#deleted ⇒ Object
Returns the value of attribute deleted.
-
#id ⇒ Object
Returns the value of attribute id.
-
#modified_at ⇒ Object
Returns the value of attribute modified_at.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#outcome ⇒ Object
Returns the value of attribute outcome.
-
#rule_name ⇒ Object
Returns the value of attribute rule_name.
-
#rule_order ⇒ Object
Returns the value of attribute rule_order.
-
#status ⇒ Object
Returns the value of attribute status.
Class Method Summary collapse
-
.retrieve(id, env = nil, headers = {}) ⇒ Object
OPERATIONS -----------.
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
#conditions ⇒ Object
Returns the value of attribute conditions.
4 5 6 |
# File 'lib/chargebee/models/rule.rb', line 4 def conditions @conditions end |
#created_at ⇒ Object
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/chargebee/models/rule.rb', line 4 def created_at @created_at end |
#deleted ⇒ Object
Returns the value of attribute deleted.
4 5 6 |
# File 'lib/chargebee/models/rule.rb', line 4 def deleted @deleted end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/chargebee/models/rule.rb', line 4 def id @id end |
#modified_at ⇒ Object
Returns the value of attribute modified_at.
4 5 6 |
# File 'lib/chargebee/models/rule.rb', line 4 def modified_at @modified_at end |
#namespace ⇒ Object
Returns the value of attribute namespace.
4 5 6 |
# File 'lib/chargebee/models/rule.rb', line 4 def namespace @namespace end |
#outcome ⇒ Object
Returns the value of attribute outcome.
4 5 6 |
# File 'lib/chargebee/models/rule.rb', line 4 def outcome @outcome end |
#rule_name ⇒ Object
Returns the value of attribute rule_name.
4 5 6 |
# File 'lib/chargebee/models/rule.rb', line 4 def rule_name @rule_name end |
#rule_order ⇒ Object
Returns the value of attribute rule_order.
4 5 6 |
# File 'lib/chargebee/models/rule.rb', line 4 def rule_order @rule_order end |
#status ⇒ Object
Returns the value of attribute status.
4 5 6 |
# File 'lib/chargebee/models/rule.rb', line 4 def status @status end |
Class Method Details
.retrieve(id, env = nil, headers = {}) ⇒ Object
OPERATIONS
10 11 12 13 14 15 |
# File 'lib/chargebee/models/rule.rb', line 10 def self.retrieve(id, env=nil, headers={}) jsonKeys = { } = {} Request.send('get', uri_path("rules",id.to_s), {}, env, headers,nil, false, jsonKeys, , telemetry_resource: "rule", telemetry_operation: "retrieve") end |