New version 0.3.1 released!

Hello folks, a fatal bug was discovered by some of serfj’s users, when using:


// Gets ID from URL /banks/1 
String id = this.getId(“bank”); 

return identifier is null.

So I have published a new version 0.3.1 that solves this problem. Another changes in this version are:

Now the above problem is solved, but also a little change in the API has been added. Now you can retrieve the main Id without using a resource name:


// URL /banks/1
String id = this.getId(“bank”);
// Or...
String theSameBankId = this.getId();

// URL /banks/1/accounts/2
String id = this.getId(“account”);
// Or...
String theSameAccountId = this.getId();
// Getting bank's id String bankId = this.getId(“bank”);
Advertisements

Published by

Eduardo Yáñez Parareda

https://www.linkedin.com/in/eduardoyanez

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s