Module: RemoteTracker::Remote::InstanceMethods

Defined in:
app/models/remote_tracker/remote.rb

Instance Method Summary collapse

Instance Method Details

#find_remote_issue(issue_id) ⇒ Object



28
29
30
# File 'app/models/remote_tracker/remote.rb', line 28

def find_remote_issue(issue_id)
  remote_instance.find_issue(issue_id)
end

#remote_instanceObject



32
33
34
35
36
# File 'app/models/remote_tracker/remote.rb', line 32

def remote_instance
  r = remote_instance_class.new(root_url, username, password)
  r.send('remote_tracker=', self)
  r
end

#remote_instance_classObject



38
39
40
# File 'app/models/remote_tracker/remote.rb', line 38

def remote_instance_class
  self.class.provider_instance_class(profile)
end