@@ -51,24 +51,24 @@ |
||
| 51 | 51 | |
| 52 | 52 | $scopeArray = |
| 53 | 53 | ['read_content', |
| 54 | - 'write_content', |
|
| 55 | - 'read_themes', |
|
| 56 | - 'write_themes', |
|
| 57 | - 'read_products', |
|
| 58 | - 'write_products', |
|
| 59 | - 'read_customers', |
|
| 60 | - 'write_customers', |
|
| 61 | - 'read_orders', |
|
| 62 | - 'write_orders', |
|
| 63 | - 'read_script_tags', |
|
| 64 | - 'write_script_tags', |
|
| 65 | - 'read_fulfillments', |
|
| 66 | - 'write_fulfillments', |
|
| 67 | - 'read_shipping', |
|
| 68 | - 'write_shipping', |
|
| 69 | - 'read_analytics', |
|
| 70 | - 'read_users', |
|
| 71 | - 'write_users']; |
|
| 54 | + 'write_content', |
|
| 55 | + 'read_themes', |
|
| 56 | + 'write_themes', |
|
| 57 | + 'read_products', |
|
| 58 | + 'write_products', |
|
| 59 | + 'read_customers', |
|
| 60 | + 'write_customers', |
|
| 61 | + 'read_orders', |
|
| 62 | + 'write_orders', |
|
| 63 | + 'read_script_tags', |
|
| 64 | + 'write_script_tags', |
|
| 65 | + 'read_fulfillments', |
|
| 66 | + 'write_fulfillments', |
|
| 67 | + 'read_shipping', |
|
| 68 | + 'write_shipping', |
|
| 69 | + 'read_analytics', |
|
| 70 | + 'read_users', |
|
| 71 | + 'write_users']; |
|
| 72 | 72 | |
| 73 | 73 | $this->out('Enter your application\'s scope here.', 2); |
| 74 | 74 | $this->out('Valid scope options:', 2); |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | 'Multidimensional/Cakephpify', |
| 21 | 21 | ['path' => '/'], |
| 22 | 22 | function ($routes) { |
| 23 | - $routes->prefix('shopify', function ($routes) { |
|
| 23 | + $routes->prefix('shopify', function ($routes) { |
|
| 24 | 24 | $shopifyAPIKeys = array_keys(Configure::read('Multidimensional/Cakephpify')); |
| 25 | 25 | if (is_array($shopifyAPIKeys) && count($shopifyAPIKeys) >= 0) { |
| 26 | 26 | $routes->connect( |
@@ -29,6 +29,6 @@ discard block |
||
| 29 | 29 | ['api_key' => implode('|', $shopifyAPIKeys), 'pass' => ['api_key']] |
| 30 | 30 | ); |
| 31 | 31 | } |
| 32 | - }); |
|
| 32 | + }); |
|
| 33 | 33 | } |
| 34 | 34 | ); |
@@ -25,10 +25,10 @@ |
||
| 25 | 25 | |
| 26 | 26 | $config = ['{API_KEY_HERE}' => |
| 27 | 27 | [ |
| 28 | - 'sharedSecret' => '{SHARED_SECRET_HERE}', |
|
| 29 | - 'scope' => '{SCOPE_HERE}', |
|
| 30 | - 'privateApp' => '{TRUE/FALSE_HERE}', |
|
| 31 | - 'privateAppPassword' => '{PRIVATE_APP_PASSWORD_HERE}' |
|
| 28 | + 'sharedSecret' => '{SHARED_SECRET_HERE}', |
|
| 29 | + 'scope' => '{SCOPE_HERE}', |
|
| 30 | + 'privateApp' => '{TRUE/FALSE_HERE}', |
|
| 31 | + 'privateAppPassword' => '{PRIVATE_APP_PASSWORD_HERE}' |
|
| 32 | 32 | ] |
| 33 | 33 | ]; |
| 34 | 34 | |
@@ -23,14 +23,14 @@ |
||
| 23 | 23 | /*/ |
| 24 | 24 | |
| 25 | 25 | return [ |
| 26 | - 'Multidimensional/Cakephpify' => |
|
| 26 | + 'Multidimensional/Cakephpify' => |
|
| 27 | 27 | [ |
| 28 | - '{API_KEY_HERE}' => |
|
| 29 | - [ |
|
| 30 | - 'sharedSecret' => '{SHARED_SECRET_HERE}', |
|
| 31 | - 'scope' => '{SCOPE_HERE}', |
|
| 32 | - 'privateApp' => '{TRUE/FALSE_HERE}', |
|
| 33 | - 'privateAppPassword' => '{PRIVATE_APP_PASSWORD_HERE}' |
|
| 34 | - ] |
|
| 28 | + '{API_KEY_HERE}' => |
|
| 29 | + [ |
|
| 30 | + 'sharedSecret' => '{SHARED_SECRET_HERE}', |
|
| 31 | + 'scope' => '{SCOPE_HERE}', |
|
| 32 | + 'privateApp' => '{TRUE/FALSE_HERE}', |
|
| 33 | + 'privateAppPassword' => '{PRIVATE_APP_PASSWORD_HERE}' |
|
| 34 | + ] |
|
| 35 | 35 | ] |
| 36 | 36 | ]; |