com.mailgun.expanders.EnumExpander Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mailgun-java Show documentation
Show all versions of mailgun-java Show documentation
The Mailgun SDK for Java enables Java developers to work with Mailgun API
efficiently.
The newest version!
package com.mailgun.expanders;
import com.mailgun.enums.EnumWithValue;
import feign.Param;
public class EnumExpander implements Param.Expander {
@Override
public String expand(Object enumWithValue) {
return ((EnumWithValue) enumWithValue).getValue();
}
}