Sha256: 4f103483c2525a684808939f0fe239d7a5ac1b226105e50d92b4fca4ba6ef097

Contents?: true

Size: 414 Bytes

Versions: 3

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

require 'wcc'

require 'wcc/blogs/utils'

require 'wcc/blogs/client'
require 'wcc/blogs/errors'

require 'wcc/blogs/metadata'
require 'wcc/blogs/post'
require 'wcc/blogs/post_summary'
require 'wcc/blogs/property'

module WCC::Blogs
  class << self
    attr_writer :client

    def client
      @client || raise(WCC::Blogs::NotConfiguredException, 'Not configured')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wcc-blogs-client-0.5.1 lib/wcc/blogs.rb
wcc-blogs-client-0.5.0 lib/wcc/blogs.rb
wcc-blogs-client-0.4.1 lib/wcc/blogs.rb