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

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

Instance Attribute Summary

Instance Method Summary

Constructor Details

- (Info) initialize(attributes = {})

A new instance of Info



232
233
234
235
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 232

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

Instance Attribute Details

- (Object) lastrev

Returns the value of attribute lastrev



231
232
233
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 231

def lastrev
  @lastrev
end

- (Object) root_url

Returns the value of attribute root_url



231
232
233
# File 'lib/redmine/scm/adapters/abstract_adapter.rb', line 231

def root_url
  @root_url
end