Class: Redmine::Scm::Adapters::Info

Inherits:
Object
  • Object
show all
Defined in:
lib/redmine/scm/adapters/abstract_adapter.rb

Overview

Since:

  • 0.5.1

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Info

Returns a new instance of Info



313
314
315
316
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 313

def initialize(attributes={})
  self.root_url = attributes[:root_url] if attributes[:root_url]
  self.lastrev = attributes[:lastrev]
end

Instance Attribute Details

#lastrevObject

Returns the value of attribute lastrev



312
313
314
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 312

def lastrev
  @lastrev
end

#root_urlObject

Returns the value of attribute root_url



312
313
314
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 312

def root_url
  @root_url
end