public void documentGetClockOffset()

in component-test/src/main/java/org/apache/fineract/cn/rhythm/RhythmApiDocumentation.java [273:291]


  public void documentGetClockOffset ( ) {
    try {
      this.mockMvc.perform(get("/clockoffset")
              .accept(MediaType.ALL_VALUE)
              .contentType(MediaType.APPLICATION_JSON_VALUE)
              .header(TENANT_HEADER, tenantDataStoreContext.getTenantName()))
              .andExpect(status().isOk())
              .andDo(document(
                      "document-get-clockoffset", preprocessResponse(prettyPrint()),
                      responseFields(
                              fieldWithPath("hours").description("Clock Offset Hour"),
                              fieldWithPath("minutes").description("Clock Offset Minutes"),
                              fieldWithPath("seconds").description("Clock Offset Seconds")
                      )
              ));
    } catch (Exception e) {
      e.printStackTrace();
    }
  }