class Projects::Service::ZohoProject

Attributes

authToken[RW]
portalId[RW]

Public Class Methods

new(authToken,portalId) click to toggle source
  • Initialize ZhoProjects using user's authToken and portalId.

Parameters

  • authToken
    • User's authToken.

  • portalId
    • User's portalId.

# File lib/projects/service/ZohoProject.rb, line 36
def initialize(authToken,portalId)
        @authToken = authToken
        @portalId = portalId
end

Public Instance Methods

getBugsAPI() click to toggle source
  • Get an instance of bugs API.

Returns

  • BugsAPI object.

# File lib/projects/service/ZohoProject.rb, line 157
def getBugsAPI
        bugsAPI = BugsAPI.new(authToken, portalId)         
        return bugsAPI
end
getDocumentsAPI() click to toggle source
  • Get an instance of documents API.

Returns

  • DocumentsAPI object.

# File lib/projects/service/ZohoProject.rb, line 124
def getDocumentsAPI
        documentsAPI = DocumentsAPI.new(authToken, portalId)               
        return documentsAPI
end
getEventsAPI() click to toggle source
  • Get an instance of events API.

Returns

  • EventsAPI object.

# File lib/projects/service/ZohoProject.rb, line 102
def getEventsAPI
        eventsAPI = EventsAPI.new(authToken, portalId)             
        return eventsAPI
end
getFoldersAPI() click to toggle source
  • Get an instance of folder API.

Returns

  • FoldersAPI object.

# File lib/projects/service/ZohoProject.rb, line 113
def getFoldersAPI
        foldersAPI = FoldersAPI.new(authToken, portalId)   
        return foldersAPI
end
getForumsAPI() click to toggle source
  • Get an instance of forums API.

Returns

  • ForumsAPI object.

# File lib/projects/service/ZohoProject.rb, line 135
def getForumsAPI
        forumsAPI = ForumsAPI.new(authToken, portalId)             
        return forumsAPI
end
getMilestonesAPI() click to toggle source
  • Get an instance of milestones API.

Returns

  • MilestonesAPI object.

# File lib/projects/service/ZohoProject.rb, line 69
def getMilestonesAPI
        milestonesAPI = MilestonesAPI.new(authToken, portalId)     
        return milestonesAPI
end
getPortalsAPI() click to toggle source
  • Get an instance of portals API.

Returns

  • PortalsAPI object.

# File lib/projects/service/ZohoProject.rb, line 47
def getPortalsAPI
        portalsAPI = PortalAPI.new(authToken)              
        return portalsAPI
end
getProjectsAPI() click to toggle source
  • Get an instance of projects API.

Returns

  • ProjectsAPI object.

# File lib/projects/service/ZohoProject.rb, line 58
def getProjectsAPI
        projectsAPI = ProjectsAPI.new(authToken, portalId)         
        return projectsAPI
end
getTasklistsAPI() click to toggle source
  • Get an instance of task lists API.

Returns

  • TasklistsAPI object.

# File lib/projects/service/ZohoProject.rb, line 80
def getTasklistsAPI
        tasklistsAPI = TasklistsAPI.new(authToken, portalId)               
        return tasklistsAPI
end
getTasksAPI() click to toggle source
  • Get an instance of tasks API.

Returns

  • TasksAPI object.

# File lib/projects/service/ZohoProject.rb, line 91
def getTasksAPI
        tasksAPI = TasksAPI.new(authToken, portalId)       
        return tasksAPI
end
getTimesheetsAPI() click to toggle source
  • Get an instance of time sheets API.

Returns

  • TimesheetsAPI object.

# File lib/projects/service/ZohoProject.rb, line 168
def getTimesheetsAPI
        timesheetsAPI = TimesheetsAPI.new(authToken, portalId)             
        return timesheetsAPI
end
getUsersAPI() click to toggle source
  • Get an instance of users API.

Returns

  • UsersAPI object.

# File lib/projects/service/ZohoProject.rb, line 146
def getUsersAPI
        usersAPI = UsersAPI.new(authToken, portalId)               
        return usersAPI
end