module Roadmap
Public Instance Methods
get_checkpoint(checkpoint_id)
click to toggle source
# File lib/roadmap.rb, line 10 def get_checkpoint(checkpoint_id) id = checkpoint_id.to_s response = self.class.get(@base_url + '/checkpoints/' + id, headers: { "authorization" => @auth_token }) checkpoint = JSON.parse(response.body) checkpoint end
get_roadmap(roadmap_id)
click to toggle source
# File lib/roadmap.rb, line 2 def get_roadmap(roadmap_id) id = roadmap_id.to_s response = self.class.get(@base_url + '/roadmaps/' + id, headers: { "authorization" => @auth_token }) roadmap = JSON.parse(response.body) roadmap end