Sha256: 2ef8b66655d12713476e94202ee703173c8ea03ff5967528ecb4eae266620066

Contents?: true

Size: 529 Bytes

Versions: 5

Compression:

Stored size: 529 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/linked_blog_post_summary'
require 'wcc/blogs/property'
require 'wcc/blogs/collection'
require 'wcc/blogs/collection_summary'

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wcc-blogs-client-0.7.3 lib/wcc/blogs.rb
wcc-blogs-client-0.7.2 lib/wcc/blogs.rb
wcc-blogs-client-0.7.1 lib/wcc/blogs.rb
wcc-blogs-client-0.7.0 lib/wcc/blogs.rb
wcc-blogs-client-0.6.0 lib/wcc/blogs.rb