lib/commercelayer/cli/helpers.rb in commercelayer-cli-0.2.2 vs lib/commercelayer/cli/helpers.rb in commercelayer-cli-0.2.3
- old
+ new
@@ -14,10 +14,14 @@
"client_secret" => "YOUR-COMMERCELAYER-CLIENT-SECRET",
"scope" => "market:<market_id>",
},
"dato" => {
"api_key" => "YOUR-DATOCMS-APIKEY"
+ },
+ "contentful" => {
+ "space" => "YOUR-CONTENTFUL-SPACE-ID",
+ "access_token" => "YOUR-CONTENTFUL-ACCESS-TOKEN"
}
}.to_yaml
end
def config_path
@@ -29,10 +33,10 @@
client_id: config_data[:commercelayer][:client_id],
client_secret: config_data[:commercelayer][:client_secret],
scope: config_data[:commercelayer][:scope],
site: config_data[:commercelayer][:site]
)
- end
+ end
end
end
end