Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def add_sitepen_support_repository
- self.repository = Repository.factory(SitePen::REPOSITORY_TYPE)
- self.repository.attributes = {
- :url => SitePen::REPOSITORY_BASE + self.identifier,
- :login => SitePen::REPOSITORY_LOGIN,
- :password => SitePen::REPOSITORY_PASSWORD
- }
- self.repository.save
- end
Add Comment
Please, Sign In to add comment