Class: ChargeBee::AlertStatus
- Defined in:
- lib/chargebee/models/alert_status.rb
Instance Attribute Summary collapse
-
#alarm_status ⇒ Object
Returns the value of attribute alarm_status.
-
#alarm_triggered_at ⇒ Object
Returns the value of attribute alarm_triggered_at.
-
#alert_id ⇒ Object
Returns the value of attribute alert_id.
-
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
Class Method Summary collapse
- .alert_statuses_for_alert(id, params = {}, env = nil, headers = {}) ⇒ Object
-
.alert_statuses_for_subscription(id, params = {}, 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
#alarm_status ⇒ Object
Returns the value of attribute alarm_status.
4 5 6 |
# File 'lib/chargebee/models/alert_status.rb', line 4 def alarm_status @alarm_status end |
#alarm_triggered_at ⇒ Object
Returns the value of attribute alarm_triggered_at.
4 5 6 |
# File 'lib/chargebee/models/alert_status.rb', line 4 def alarm_triggered_at @alarm_triggered_at end |
#alert_id ⇒ Object
Returns the value of attribute alert_id.
4 5 6 |
# File 'lib/chargebee/models/alert_status.rb', line 4 def alert_id @alert_id end |
#subscription_id ⇒ Object
Returns the value of attribute subscription_id.
4 5 6 |
# File 'lib/chargebee/models/alert_status.rb', line 4 def subscription_id @subscription_id end |
Class Method Details
.alert_statuses_for_alert(id, params = {}, env = nil, headers = {}) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/chargebee/models/alert_status.rb', line 16 def self.alert_statuses_for_alert(id, params={}, env=nil, headers={}) jsonKeys = { } = {} Request.send('get', uri_path("alerts",id.to_s,"alert_statuses"), params, env, headers,nil, false, jsonKeys, ) end |
.alert_statuses_for_subscription(id, params = {}, env = nil, headers = {}) ⇒ Object
OPERATIONS
9 10 11 12 13 14 |
# File 'lib/chargebee/models/alert_status.rb', line 9 def self.alert_statuses_for_subscription(id, params={}, env=nil, headers={}) jsonKeys = { } = {} Request.send('get', uri_path("subscriptions",id.to_s,"alert_statuses"), params, env, headers,nil, false, jsonKeys, ) end |