Exception: ChargeBee::UbbBatchIngestionInvalidRequestError

Inherits:
APIError
  • Object
show all
Defined in:
lib/chargebee/errors.rb

Instance Attribute Summary collapse

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

#original_error

Instance Method Summary collapse

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_idObject (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_eventsObject (readonly)

Returns the value of attribute failed_events.



44
45
46
# File 'lib/chargebee/errors.rb', line 44

def failed_events
  @failed_events
end