Class: Pokepay::Response::UserStatsOperation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ UserStatsOperation

Returns a new instance of UserStatsOperation.



6
7
8
9
10
11
12
13
14
15
# File 'lib/pokepay_partner_ruby_sdk/response/user_stats_operation.rb', line 6

def initialize(row)
  @id = row["id"]
  @from = row["from"]
  @to = row["to"]
  @status = row["status"]
  @error_reason = row["error_reason"]
  @done_at = row["done_at"]
  @file_url = row["file_url"]
  @requested_at = row["requested_at"]
end

Instance Attribute Details

#done_atObject (readonly)

Returns the value of attribute done_at.



21
22
23
# File 'lib/pokepay_partner_ruby_sdk/response/user_stats_operation.rb', line 21

def done_at
  @done_at
end

#error_reasonObject (readonly)

Returns the value of attribute error_reason.



20
21
22
# File 'lib/pokepay_partner_ruby_sdk/response/user_stats_operation.rb', line 20

def error_reason
  @error_reason
end

#file_urlObject (readonly)

Returns the value of attribute file_url.



22
23
24
# File 'lib/pokepay_partner_ruby_sdk/response/user_stats_operation.rb', line 22

def file_url
  @file_url
end

#fromObject (readonly)

Returns the value of attribute from.



17
18
19
# File 'lib/pokepay_partner_ruby_sdk/response/user_stats_operation.rb', line 17

def from
  @from
end

#idObject (readonly)

Returns the value of attribute id.



16
17
18
# File 'lib/pokepay_partner_ruby_sdk/response/user_stats_operation.rb', line 16

def id
  @id
end

#requested_atObject (readonly)

Returns the value of attribute requested_at.



23
24
25
# File 'lib/pokepay_partner_ruby_sdk/response/user_stats_operation.rb', line 23

def requested_at
  @requested_at
end

#statusObject (readonly)

Returns the value of attribute status.



19
20
21
# File 'lib/pokepay_partner_ruby_sdk/response/user_stats_operation.rb', line 19

def status
  @status
end

#toObject (readonly)

Returns the value of attribute to.



18
19
20
# File 'lib/pokepay_partner_ruby_sdk/response/user_stats_operation.rb', line 18

def to
  @to
end