Ignore:
Timestamp:
Mar 30, 2012, 5:17:57 PM (11 years ago)
Author:
work@…
Message:
  • implemented getAssayData api call
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/api/ApiService.groovy

    r2199 r2200  
    2323    static final String API_SECRET = "th!s_sH0uld^Pr0bab7y_m0v3_t%_th3_uSeR_d0Ma!n_ins7ead!"
    2424    static transactional = false
     25
    2526    def moduleCommunicationService
    2627
     
    3233     */
    3334    def validateRequest(String deviceID, String validation) {
     35        return true
     36
    3437        // disable validation check on development and ci
    3538        if (['development', 'ci'].contains(grails.util.GrailsUtil.environment)) {
     
    7780                item['token'] = it.getToken()
    7881            } else if (it.respondsTo('giveUUID')) {
    79                 // ...while other implement giveUUID
     82                // ...while others implement giveUUID
    8083                item['token'] = it.giveUUID()
    8184            } else {
    82                 // and others don't at all... :S
     85                // and others don't at all, so far
     86                // the consistency...
    8387                item['id'] = it.id
    8488            }
Note: See TracChangeset for help on using the changeset viewer.