Class: Stripe::Privacy::RedactionJobValidationError

Inherits:
APIResource show all
Extended by:
APIOperations::List
Defined in:
lib/stripe/resources/privacy/redaction_job_validation_error.rb

Overview

Validation errors

Defined Under Namespace

Classes: ListParams

Constant Summary collapse

OBJECT_NAME =
"privacy.redaction_job_validation_error"

Constants inherited from StripeObject

StripeObject::RESERVED_FIELD_NAMES

Instance Attribute Summary collapse

Attributes inherited from APIResource

#save_with_parent

Attributes inherited from StripeObject

#last_response

Class Method Summary collapse

Methods included from APIOperations::List

list

Methods inherited from APIResource

class_name, custom_method, #refresh, #request_stripe_object, resource_url, #resource_url, retrieve, save_nested_resource

Methods included from APIOperations::Request

included

Methods inherited from StripeObject

#==, #[], #[]=, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values

Constructor Details

This class inherits a constructor from Stripe::StripeObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject

Instance Attribute Details

#codeObject (readonly)

Attribute for field code



33
34
35
# File 'lib/stripe/resources/privacy/redaction_job_validation_error.rb', line 33

def code
  @code
end

#erroring_objectObject (readonly)

Attribute for field erroring_object



35
36
37
# File 'lib/stripe/resources/privacy/redaction_job_validation_error.rb', line 35

def erroring_object
  @erroring_object
end

#idObject (readonly)

Unique identifier for the object.



37
38
39
# File 'lib/stripe/resources/privacy/redaction_job_validation_error.rb', line 37

def id
  @id
end

#messageObject (readonly)

Attribute for field message



39
40
41
# File 'lib/stripe/resources/privacy/redaction_job_validation_error.rb', line 39

def message
  @message
end

#objectObject (readonly)

String representing the object’s type. Objects of the same type share the same value.



41
42
43
# File 'lib/stripe/resources/privacy/redaction_job_validation_error.rb', line 41

def object
  @object
end

Class Method Details

.list(job, params = {}, opts = {}) ⇒ Object

List validation errors method



44
45
46
47
48
49
50
51
# File 'lib/stripe/resources/privacy/redaction_job_validation_error.rb', line 44

def self.list(job, params = {}, opts = {})
  request_stripe_object(
    method: :get,
    path: format("/v1/privacy/redaction_jobs/%<job>s/validation_errors", { job: CGI.escape(job) }),
    params: params,
    opts: opts
  )
end

.object_nameObject



11
12
13
# File 'lib/stripe/resources/privacy/redaction_job_validation_error.rb', line 11

def self.object_name
  "privacy.redaction_job_validation_error"
end