Class: Redmine::Scm::Adapters::Info
- Inherits:
-
Object
- Object
- Redmine::Scm::Adapters::Info
- Defined in:
- lib/redmine/scm/adapters/abstract_adapter.rb
Instance Attribute Summary collapse
-
#lastrev ⇒ Object
Returns the value of attribute lastrev.
-
#root_url ⇒ Object
Returns the value of attribute root_url.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Info
constructor
A new instance of Info.
Constructor Details
#initialize(attributes = {}) ⇒ Info
Returns a new instance of Info.
326 327 328 329 |
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 326 def initialize(attributes={}) self.root_url = attributes[:root_url] if attributes[:root_url] self.lastrev = attributes[:lastrev] end |
Instance Attribute Details
#lastrev ⇒ Object
Returns the value of attribute lastrev.
325 326 327 |
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 325 def lastrev @lastrev end |
#root_url ⇒ Object
Returns the value of attribute root_url.
325 326 327 |
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 325 def root_url @root_url end |