lib/loquor.rb in loquor-0.0.1 vs lib/loquor.rb in loquor-0.0.2
- old
+ new
@@ -3,18 +3,24 @@
require 'filum'
require "loquor/version"
require "loquor/configuration"
require "loquor/client"
-require 'loquor/path_builder'
require 'loquor/representation'
-require 'loquor/representations'
require 'loquor/api_call'
require "loquor/http_action"
module Loquor
+
+ Representations = {
+ "GroupDiscussion" => "/group_discussions",
+ "GroupDiscussionPost" => "/group_discussion_posts",
+ "MediaFile" => "/media_files",
+ "User" => "/users"
+ }
+
def self.config
if block_given?
yield loquor.config
else
loquor.config
@@ -33,5 +39,7 @@
def self.loquor
@loquor ||= Client.new
end
end
+
+require 'loquor/representations'