Class: Whereuat::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/whereuat/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



10
11
12
13
# File 'lib/whereuat/configuration.rb', line 10

def initialize
  self.whereuat_stylesheet_url = "http://github.com/plus2/whereuat/raw/master/lib/whereuat/stylesheets/whereuat.css"
  self.whereuat_javascript_url = "http://github.com/plus2/whereuat/raw/master/lib/whereuat/javascript/whereuat.js"
end

Instance Attribute Details

#pivotal_tracker_projectObject

Returns the value of attribute pivotal_tracker_project.



5
6
7
# File 'lib/whereuat/configuration.rb', line 5

def pivotal_tracker_project
  @pivotal_tracker_project
end

#pivotal_tracker_tokenObject

Returns the value of attribute pivotal_tracker_token.



4
5
6
# File 'lib/whereuat/configuration.rb', line 4

def pivotal_tracker_token
  @pivotal_tracker_token
end

#whereuat_javascript_urlObject

Returns the value of attribute whereuat_javascript_url.



8
9
10
# File 'lib/whereuat/configuration.rb', line 8

def whereuat_javascript_url
  @whereuat_javascript_url
end

#whereuat_stylesheet_urlObject

Returns the value of attribute whereuat_stylesheet_url.



7
8
9
# File 'lib/whereuat/configuration.rb', line 7

def whereuat_stylesheet_url
  @whereuat_stylesheet_url
end

Instance Method Details

#use_dev_resources!Object



15
16
17
18
# File 'lib/whereuat/configuration.rb', line 15

def use_dev_resources!
  self.whereuat_stylesheet_url = "/whereuat/whereuat.css"
  self.whereuat_javascript_url = "/whereuat/whereuat.js"
end