class Mollie::Onboarding
Attributes
_links[RW]
can_receive_payments[RW]
can_receive_settlements[RW]
links[RW]
name[RW]
signed_up_at[RW]
status[RW]
Public Class Methods
me(options = {})
click to toggle source
# File lib/mollie/onboarding.rb, line 12 def self.me(options = {}) response = Client.instance.perform_http_call('GET', 'onboarding', 'me', {}, options) new(response) end
submit(data = {}, options = {})
click to toggle source
# File lib/mollie/onboarding.rb, line 17 def self.submit(data = {}, options = {}) Client.instance.perform_http_call('POST', 'onboarding', 'me', data, options) nil end
Public Instance Methods
dashboard()
click to toggle source
# File lib/mollie/onboarding.rb, line 22 def dashboard Util.extract_url(links, 'dashboard') end
organization(options = {})
click to toggle source
# File lib/mollie/onboarding.rb, line 26 def organization(options = {}) resource_url = Util.extract_url(links, 'organization') response = Client.instance.perform_http_call('GET', resource_url, nil, {}, options) Organization.new(response) end
signed_up_at=(signed_up_at)
click to toggle source
# File lib/mollie/onboarding.rb, line 32 def signed_up_at=(signed_up_at) @signed_up_at = Time.parse(signed_up_at.to_s) end