Module: Skype

Defined in:
lib/dm-skype.rb,
lib/dm-skype/models.rb,
lib/dm-skype/models/sms.rb,
lib/dm-skype/models/call.rb,
lib/dm-skype/models/chat.rb,
lib/dm-skype/models/alert.rb,
lib/dm-skype/models/video.rb,
lib/dm-skype/models/account.rb,
lib/dm-skype/models/contact.rb,
lib/dm-skype/models/message.rb,
lib/dm-skype/models/transfer.rb,
lib/dm-skype/models/voicemail.rb,
lib/dm-skype/models/call_member.rb,
lib/dm-skype/models/chat_member.rb,
lib/dm-skype/models/participant.rb,
lib/dm-skype/models/conversation.rb,
lib/dm-skype/models/contact_group.rb

Defined Under Namespace

Modules: NamingConventions Classes: Account, Alert, Call, CallMember, Chat, ChatMember, Contact, ContactGroup, Conversation, DbMeta, LegacyMessage, Message, Participant, SMS, Transfer, Video, Voicemail

Class Method Summary collapse

Class Method Details

.setup(repo, repo_path) ⇒ Object



12
13
14
15
16
17
# File 'lib/dm-skype.rb', line 12

def self.setup(repo, repo_path)
  repository = DataMapper.setup(repo, repo_path)
  DataMapper.repository(repo).adapter.resource_naming_convention = NamingConventions::Resource
  require File.join(File.dirname(__FILE__), 'dm-skype', "models")
  repository
end