Module: Codebits::Project

Included in:
Client
Defined in:
lib/codebits/project.rb

Instance Method Summary collapse

Instance Method Details

#project(id) ⇒ Object



7
8
9
# File 'lib/codebits/project.rb', line 7

def project(id)
  get("/Codebits/project/#{id}")
end

#projectsObject



3
4
5
# File 'lib/codebits/project.rb', line 3

def projects
  get("/Codebits/projects")
end

#vote(id) ⇒ Object



15
16
17
# File 'lib/codebits/project.rb', line 15

def vote(id)
  get("/Codebits/vote/#{id}")
end

#votesObject



11
12
13
# File 'lib/codebits/project.rb', line 11

def votes
  get("/Codebits/votes")
end