Class: Pokepay::Response::OrganizationWorkerTaskWebhook
- Inherits:
-
Object
- Object
- Pokepay::Response::OrganizationWorkerTaskWebhook
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/organization_worker_task_webhook.rb
Instance Attribute Summary collapse
-
#content_type ⇒ Object
readonly
Returns the value of attribute content_type.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#is_active ⇒ Object
readonly
Returns the value of attribute is_active.
-
#organization_code ⇒ Object
readonly
Returns the value of attribute organization_code.
-
#task ⇒ Object
readonly
Returns the value of attribute task.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(row) ⇒ OrganizationWorkerTaskWebhook
constructor
A new instance of OrganizationWorkerTaskWebhook.
Constructor Details
#initialize(row) ⇒ OrganizationWorkerTaskWebhook
Returns a new instance of OrganizationWorkerTaskWebhook.
6 7 8 9 10 11 12 13 |
# File 'lib/pokepay_partner_ruby_sdk/response/organization_worker_task_webhook.rb', line 6 def initialize(row) @id = row["id"] @organization_code = row["organization_code"] @task = row["task"] @url = row["url"] @content_type = row["content_type"] @is_active = row["is_active"] end |
Instance Attribute Details
#content_type ⇒ Object (readonly)
Returns the value of attribute content_type.
18 19 20 |
# File 'lib/pokepay_partner_ruby_sdk/response/organization_worker_task_webhook.rb', line 18 def content_type @content_type end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
14 15 16 |
# File 'lib/pokepay_partner_ruby_sdk/response/organization_worker_task_webhook.rb', line 14 def id @id end |
#is_active ⇒ Object (readonly)
Returns the value of attribute is_active.
19 20 21 |
# File 'lib/pokepay_partner_ruby_sdk/response/organization_worker_task_webhook.rb', line 19 def is_active @is_active end |
#organization_code ⇒ Object (readonly)
Returns the value of attribute organization_code.
15 16 17 |
# File 'lib/pokepay_partner_ruby_sdk/response/organization_worker_task_webhook.rb', line 15 def organization_code @organization_code end |
#task ⇒ Object (readonly)
Returns the value of attribute task.
16 17 18 |
# File 'lib/pokepay_partner_ruby_sdk/response/organization_worker_task_webhook.rb', line 16 def task @task end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
17 18 19 |
# File 'lib/pokepay_partner_ruby_sdk/response/organization_worker_task_webhook.rb', line 17 def url @url end |