Class: ContentfulModel::Management
- Inherits:
-
Contentful::Management::Client
- Object
- Contentful::Management::Client
- ContentfulModel::Management
- Defined in:
- lib/contentful_model/management.rb
Overview
Wrapper for the CMA Client
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Management
constructor
A new instance of Management.
Constructor Details
#initialize(options = {}) ⇒ Management
Returns a new instance of Management.
4 5 6 7 8 9 10 11 12 |
# File 'lib/contentful_model/management.rb', line 4 def initialize( = {}) # Apply management specific options (if any) = ContentfulModel.configuration.to_hash.merge() if [:management_api] = .merge([:management_api]) end super(ContentfulModel.configuration.management_token, ) end |