Changelog / RUBY

This changelog is filtered to show only changes for RUBY. Go back to full changelog.

Mar 19, 2019

Following Redirects in SDKs

We’ve fixed an issue in SDKs where HTTP redirections were not being handled properly. Please generate new SDKs to receive the fixes.


Feb 27, 2019

Token Refresh on Expiry in OAuth 2 Client Credential Flow

We’ve updated our SDKs that use OAuth 2 Client Credential Flow to enable automatic re-authorization of the client when the OAuth token is expired.


Oct 22, 2018

Do-Not-Split Words in Code Generation Settings

We have added a new CodeGen setting that allows you to specify a list of words that Code Generation will not split when converting identifiers from API specification to language-specific identifiers. This is useful for declaring brand names such as APIMatic.

E.g. if you provide the words apimatic and vmware in your the list, APIMaticandvmWare becomes ApimaticAndVmware or apimatic_and_vmware, depending on the place of use.


Oct 8, 2018

Support for Contact Info in API Editor and SDKs

We have added support for adding contact information of the organization maintaining the API in our API editor.


Sep 24, 2018

Allow Skipping Verification of SSL Certificates

Our Android, .Net, Go, Java, NodeJS, PHP, Python and Ruby SDKs now allow skipping verification of SSL certificates. To do this enable the CodeGen Setting Allow Skipping Certificate Verification and then set the corresponding configuration variable in the respective SDK.


Jul 16, 2018

Disable Linting in SDKs

We have added a new CodeGen setting to allow disabling linting in our SDKs. If you would like to benefit from this feature then please enable the setting and generate your SDKs again.


Dec 15, 2017

Model Serialization Fixes for Ruby

There was a bug in the implementation of the Unindexed and Plain array serialization formats in Ruby SDKs. Arrays of models were not being properly encoded as form fields for the two mentioned formats.

Additionally, a bug in the initialization of inherited models caused duplication in fields with names longer than one word.

Both these bugs have now been fixed. Please regenerate your Ruby SDKs to get this fix.


Oct 31, 2017

Multiple bug fixes for Ruby

There was a bug in Ruby SDKs which were using OAuth2.

  • When updating the OAuth token, the compiler was trying to set the expiry time by adding an int and a string.

Besides this, there were a couple of edge cases that allowed Ruby SDKs to be generated, and even the gem to be built and installed, but the code would not execute because of the following reasons:

  • require statements in the base file were not being split into multiple lines correctly. This splitting is done to ensure compliance with The Ruby Style Guide
  • New line characters in the descriptions for models/enums/exceptions were not being dealt with, causing a comment to spill over into the next line.

These bugs have now been fixed. Please regenerate your Ruby SDKs to get the fixes.


Oct 9, 2017

Ruby SDKs Are Now Ruby Style Guide Compliant

APIMATIC’s Ruby SDKs are now compliant with The Ruby Style Guide

  • Ruby style guide compliance means that the Ruby code generated is guaranteed to be of high-quality.
  • Ruby SDKs are written in an industry-standard code style to allow for maximum interoperability.
  • Ruby SDKs can be tested for code style violation using Rubocop.

Re-generate your Ruby SDKs now for the new changes.


Jul 12, 2017

OAuth 2.0 Authorization Support Added

Our API editor and Code Generation engine now supports OAuth 2.0 for authentication in the generated SDKs.

OAuth 2 enabled SDKs will help developers in:

  • Obtaining consent from user
  • Acquiring access token
  • Refreshing tokens when they expire
  • Making authorized API calls

You can read more about OAuth 2.0 in APIMatic editor and Code Generation engine here.