Module: Yapt
- Defined in:
- lib/yapt.rb,
lib/yapt/move.rb,
lib/yapt/view.rb,
lib/yapt/story.rb,
lib/yapt/config.rb,
lib/yapt/filter.rb,
lib/yapt/member.rb,
lib/yapt/comment.rb,
lib/yapt/request.rb,
lib/yapt/version.rb
Defined Under Namespace
Classes: Comment, Config, Filter, GitLogShiv, Member, Move, Request, Runner, Story, View
Constant Summary
collapse
- VERSION =
"0.0.6"
Class Method Summary
collapse
Class Method Details
.api_token ⇒ Object
23
24
25
|
# File 'lib/yapt.rb', line 23
def self.api_token
config.api_token
end
|
.cache_duration ⇒ Object
31
32
33
|
# File 'lib/yapt.rb', line 31
def self.cache_duration
3600
end
|
.config ⇒ Object
15
16
17
|
# File 'lib/yapt.rb', line 15
def self.config
@config ||= Config.new(Dir.pwd)
end
|
.github_url_base ⇒ Object
27
28
29
|
# File 'lib/yapt.rb', line 27
def self.github_url_base
config.github_url_base
end
|
.member_lookup(id) ⇒ Object
39
40
41
|
# File 'lib/yapt.rb', line 39
def self.member_lookup(id)
Member.find(id)
end
|
.project_id ⇒ Object
19
20
21
|
# File 'lib/yapt.rb', line 19
def self.project_id
config.project_id
end
|
.tracker_member_cache ⇒ Object
35
36
37
|
# File 'lib/yapt.rb', line 35
def self.tracker_member_cache
File.expand_path "#{Dir.pwd}/.yapt_member_cache"
end
|