Class: TeachersPet::Configuration
- Inherits:
-
Object
- Object
- TeachersPet::Configuration
- Defined in:
- lib/teachers_pet/configuration.rb
Constant Summary collapse
- @@API_ENDPOINT =
For github.com: ‘api.github.com/’ For GitHub Enterprise: ‘yourServer.com/api/v3’
'https://api.github.com/'
- @@WEB_ENDPOINT =
For github.com: github.com/‘ For GitHub Enterprise: ”yourServer.com/’
'https://github.com/'
- @@STUDENTS_FILE =
The name fo the file that contains the team definitions / students
'./students'
- @@SSH_ENDPOINT =
github.com - set to ‘github.com’ GitHub Enterprise - ‘yourserver.com’
'github.com'
- @@REMOTE_SSH =
It is best to push remotes vis SSH, you can swith this to false to push as HTTPS
true
Class Method Summary collapse
- .apiEndpoint ⇒ Object
- .remoteSsh ⇒ Object
- .sshEndpoint ⇒ Object
- .studentsFile ⇒ Object
- .webEndpoint ⇒ Object
Class Method Details
.apiEndpoint ⇒ Object
10 11 12 |
# File 'lib/teachers_pet/configuration.rb', line 10 def self.apiEndpoint @@API_ENDPOINT end |
.remoteSsh ⇒ Object
41 42 43 |
# File 'lib/teachers_pet/configuration.rb', line 41 def self.remoteSsh @@REMOTE_SSH end |
.sshEndpoint ⇒ Object
34 35 36 |
# File 'lib/teachers_pet/configuration.rb', line 34 def self.sshEndpoint @@SSH_ENDPOINT end |
.studentsFile ⇒ Object
25 26 27 |
# File 'lib/teachers_pet/configuration.rb', line 25 def self.studentsFile @@STUDENTS_FILE end |
.webEndpoint ⇒ Object
18 19 20 |
# File 'lib/teachers_pet/configuration.rb', line 18 def self.webEndpoint @@WEB_ENDPOINT end |