Class: Highrise::Base
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Highrise::Base
- Defined in:
- lib/highrise/base.rb
Direct Known Subclasses
Account, Comment, DealCategory, Email, Group, Membership, Note, Party, Recording, Subject, SubjectData, SubjectField, Tag, Task, TaskCategory, User
Class Method Summary collapse
Class Method Details
.url_for(n) ⇒ Object
8 9 10 11 |
# File 'lib/highrise/base.rb', line 8 def self.url_for(n) base = site.to_s.split('@')[1] File.join('https://', base, element_path(n)).gsub(".xml",'') end |