Sha256: 8706f2f0626e0c5e788fa5f61398eb189b0a1b68c93fdef4527c9a46c4d0ca56
Contents?: true
Size: 678 Bytes
Versions: 5
Compression:
Stored size: 678 Bytes
Contents
# frozen_string_literal: true require 'rakuten_web_service/configuration' module RakutenWebService def configure(&block) raise ArgumentError, 'Block is required' unless block raise ArgumentError, 'Block is required to have one argument' if block.arity != 1 yield configuration configuration end def configuration @configuration ||= Configuration.new end module_function :configure, :configuration end RWS = RakutenWebService require 'rakuten_web_service/ichiba' require 'rakuten_web_service/books' require 'rakuten_web_service/travel' require 'rakuten_web_service/kobo' require 'rakuten_web_service/gora' require 'rakuten_web_service/recipe'
Version data entries
5 entries across 5 versions & 1 rubygems