lib/loquor.rb in loquor-0.2.0 vs lib/loquor.rb in loquor-0.3.0

- old
+ new

@@ -3,30 +3,19 @@ require 'filum' require "loquor/version" require "loquor/configuration" require "loquor/client" -require 'loquor/interactor' -require 'loquor/representation' +require 'loquor/object_hash' +require 'loquor/resource' +require 'loquor/resource_mock' require 'loquor/api_call' require "loquor/http_action" module Loquor - Interactors = { - "GroupDiscussion" => "/group_discussions", - "GroupDiscussionPost" => "/group_discussion_posts", - "MediaFile" => "/media_files", - "MeshHeading" => "/mesh_headings", - "Mnemonic" => "/mnemonics", - "PremiumTutorial" => "/premium_tutorials", - "Partner" => "/partners", - "SyllabusItem" => "/syllabus_items", - "User" => "/users" - } - def self.config if block_given? yield loquor.config else loquor.config @@ -45,7 +34,5 @@ def self.loquor @loquor ||= Client.new end end - -require 'loquor/interactors'