class ContentfulModel::Management

Wrapper for the CMA Client

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method
# File lib/contentful_model/management.rb, line 4
def initialize(options = {})
  # Apply management specific options (if any)
  options = ContentfulModel.configuration.to_hash.merge(options)
  if options[:management_api]
    options = options.merge(options[:management_api])
  end

  super(ContentfulModel.configuration.management_token, options)
end