-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get Partner for ruby gem #155
Milestone
Comments
Hi @lvonk, you're correct. It hasn't been implemented yet. |
Okay thanks. Is this on the roadmap in the foreseeable future? |
Definitely! I plan on adding it to v4.11.0 which should be released in the next 3-4 weeks. |
@lvonk The API has been added to the Gemfile gem 'mollie-api-ruby', github: 'mollie/mollie-api-ruby', branch: 'partner-api' Usage partner = Mollie::Partner.current
partner.type # => "signuplink"
partner.commission_partner? # => true
partner.user_agent_tokens[i].token # => "unique-token"
partner.user_agent_tokens[i].starts_at # => 2018-03-20 13:13:37 +0000
partner.user_agent_tokens[i].ends_at # => nil
partner.contract_signed_at # => 2018-03-20 13:13:37 +0000
partner.contract_update_available? # => nil
partner.signuplink # => "https://www.mollie.com/dashboard/signup/myCode?lang=en" |
Released as v4.11.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I can't seem to find how to get https://docs.mollie.com/reference/v2/organizations-api/get-partner# Get Partner using this gem. Am I missing something or is it not (yet) implemented?
The text was updated successfully, but these errors were encountered: