Class: Pokepay::Response::OrganizationWorkerTaskWebhook

Inherits:
Object
  • Object
show all
Defined in:
lib/pokepay_partner_ruby_sdk/response/organization_worker_task_webhook.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typeObject (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

#idObject (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_activeObject (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_codeObject (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

#taskObject (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

#urlObject (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