Class RestAdapterModule



  • public class RestAdapterModule
    extends java.lang.Object
    Module for holding an instances of a Retrofit, configured for the recent ApplicationScope
    • Constructor Summary

      Constructors 
      Constructor and Description
      RestAdapterModule(Retrofit retrofit) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Retrofit getRetrofit()
      Gets an instance of Retrofit
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RestAdapterModule

        public RestAdapterModule(Retrofit retrofit)
    • Method Detail

      • getRetrofit

        public Retrofit getRetrofit()
        Gets an instance of Retrofit
        Returns:
        an Retrofit instance