Class: Basecamp::Base
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Basecamp::Base
- Defined in:
- lib/basecamp.rb
Direct Known Subclasses
Attachment, Category, Comment, Company, Message, Milestone, Person, Project, TimeTracker, TodoList, TodoListItem
Class Method Summary collapse
Class Method Details
.establish_connection!(ssl, subdomain, user, password = 'X') ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/basecamp.rb', line 8 def self.establish_connection!(ssl, subdomain, user, password = 'X') site = ssl ? "https://" : "http://" self.site = [site, subdomain, ".basecamphq.com/"].join self.user = user self.password = password self end |