Sha256: a24c18b5ae8c7f34c8bf6ac8a1267328a8142e2a4de282358fc51f7418290857
Contents?: true
Size: 967 Bytes
Versions: 1
Compression:
Stored size: 967 Bytes
Contents
require 'active_support/all' require 'loquor' require "meducation_sdk/version" require "meducation_sdk/configuration" require "meducation_sdk/mocker" RESOURCES = %w{ comment community community_membership ecommerce_subscription friendship group group_discussion group_discussion_post group_invite group_membership knowledge_bank_question knowledge_bank_answer media_file mesh_heading message message_thread message_thread_contributor mnemonic notification partner premium_tutorial syllabus_item user user_settings } RESOURCES.each do |resource| require "meducation_sdk/resources/#{resource}" end Loquor.config.substitute_values[true] = ":__true__" Loquor.config.substitute_values[false] = ":__false__" module MeducationSDK def self.config @config ||= Configuration.new if block_given? yield @config else @config end end def self.mock! MeducationSDK::Mocker.mock! end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
meducation_sdk-0.8.0 | lib/meducation_sdk.rb |