Class: GitSnatch::Configuration
- Inherits:
-
Object
- Object
- GitSnatch::Configuration
- Defined in:
- lib/git_snatch/configuration.rb
Instance Attribute Summary collapse
-
#auth_types ⇒ Object
Returns the value of attribute auth_types.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
18 19 20 21 22 23 |
# File 'lib/git_snatch/configuration.rb', line 18 def initialize self.endpoint = 'https://raw.github.com' self.auth_types = :basic self.username = nil self.password = nil end |
Instance Attribute Details
#auth_types ⇒ Object
Returns the value of attribute auth_types.
16 17 18 |
# File 'lib/git_snatch/configuration.rb', line 16 def auth_types @auth_types end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
16 17 18 |
# File 'lib/git_snatch/configuration.rb', line 16 def endpoint @endpoint end |
#password ⇒ Object
Returns the value of attribute password.
16 17 18 |
# File 'lib/git_snatch/configuration.rb', line 16 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
16 17 18 |
# File 'lib/git_snatch/configuration.rb', line 16 def username @username end |