Exception: ChargeBee::UbbBatchIngestionInvalidRequestError
Instance Attribute Summary collapse
-
#batch_id ⇒ Object
readonly
Returns the value of attribute batch_id.
-
#failed_events ⇒ Object
readonly
Returns the value of attribute failed_events.
Attributes inherited from APIError
#api_error_code, #error_cause_id, #error_code, #http_body, #http_code, #http_status_code, #json_obj, #param, #type
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(http_code = nil, json_obj = nil) ⇒ UbbBatchIngestionInvalidRequestError
constructor
A new instance of UbbBatchIngestionInvalidRequestError.
Constructor Details
#initialize(http_code = nil, json_obj = nil) ⇒ UbbBatchIngestionInvalidRequestError
Returns a new instance of UbbBatchIngestionInvalidRequestError.
45 46 47 48 49 |
# File 'lib/chargebee/errors.rb', line 45 def initialize(http_code=nil, json_obj=nil) super(http_code, json_obj) @batch_id=json_obj[:batch_id] @failed_events=json_obj[:failed_events] end |
Instance Attribute Details
#batch_id ⇒ Object (readonly)
Returns the value of attribute batch_id.
44 45 46 |
# File 'lib/chargebee/errors.rb', line 44 def batch_id @batch_id end |
#failed_events ⇒ Object (readonly)
Returns the value of attribute failed_events.
44 45 46 |
# File 'lib/chargebee/errors.rb', line 44 def failed_events @failed_events end |