Class: Rdkafka::Admin::CreateAclReport
- Inherits:
-
Object
- Object
- Rdkafka::Admin::CreateAclReport
- Defined in:
- lib/rdkafka/admin/create_acl_report.rb
Instance Attribute Summary collapse
-
#rdkafka_response ⇒ Integer
readonly
Upon successful creation of Acl RD_KAFKA_RESP_ERR_NO_ERROR - 0 is returned as rdkafka_response.
-
#rdkafka_response_string ⇒ String
readonly
Upon successful creation of Acl empty string will be returned as rdkafka_response_string.
Instance Method Summary collapse
-
#initialize(rdkafka_response:, rdkafka_response_string:) ⇒ CreateAclReport
constructor
A new instance of CreateAclReport.
Constructor Details
#initialize(rdkafka_response:, rdkafka_response_string:) ⇒ CreateAclReport
Returns a new instance of CreateAclReport.
16 17 18 19 20 21 |
# File 'lib/rdkafka/admin/create_acl_report.rb', line 16 def initialize(rdkafka_response:, rdkafka_response_string:) @rdkafka_response = rdkafka_response if rdkafka_response_string != FFI::Pointer::NULL @rdkafka_response_string = rdkafka_response_string.read_string end end |
Instance Attribute Details
#rdkafka_response ⇒ Integer (readonly)
Upon successful creation of Acl RD_KAFKA_RESP_ERR_NO_ERROR - 0 is returned as rdkafka_response
9 10 11 |
# File 'lib/rdkafka/admin/create_acl_report.rb', line 9 def rdkafka_response @rdkafka_response end |
#rdkafka_response_string ⇒ String (readonly)
Upon successful creation of Acl empty string will be returned as rdkafka_response_string
14 15 16 |
# File 'lib/rdkafka/admin/create_acl_report.rb', line 14 def rdkafka_response_string @rdkafka_response_string end |