class Mollie::Terminal
Constants
- STATUS_ACTIVE
- STATUS_INACTIVE
- STATUS_PENDING
Attributes
Public Instance Methods
Source
# File lib/mollie/terminal.rb, line 35 def created_at=(created_at) @created_at = begin Time.parse(created_at.to_s) rescue StandardError nil end end
Source
# File lib/mollie/terminal.rb, line 51 def deactivated_at=(deactivated_at) @deactivated_at = begin Time.parse(deactivated_at.to_s) rescue StandardError nil end end
Source
# File lib/mollie/terminal.rb, line 31 def inactive? status == STATUS_INACTIVE end
Source
# File lib/mollie/terminal.rb, line 43 def updated_at=(updated_at) @updated_at = begin Time.parse(updated_at.to_s) rescue StandardError nil end end