require 'rest-client' require 'api-auth' require 'filum' require "loquor/version" require "loquor/configuration" require "loquor/client" require 'loquor/representation' 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 end end def self.get(url) loquor.get(url) end def self.post(url, payload) loquor.post(url, payload) end private def self.loquor @loquor ||= Client.new end end require 'loquor/representations'