Skip to content

Commit 32a39ee

Browse files
authored
Merge pull request #1298 from Shopify/fix-documentation-typos
Fix typos in documentation
2 parents a227bda + 9b4fec5 commit 32a39ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/usage/custom_apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can follow instructions for [initializing the session object](#initializing-
1010
Following is a basic example to construct a simple Session object. You can see full list of parameters for this object in the [class definition](https://github.com/Shopify/shopify-api-ruby/blob/main/lib/shopify_api/auth/session.rb)
1111
```ruby
1212
session = ShopifyAPI::Auth::Session.new(
13-
shop: "#{your_shop_name}.myshopify.com"
13+
shop: "#{your_shop_name}.myshopify.com",
1414
access_token: "the_token_for_your_custom_app_found_in_admin"
1515
)
1616

@@ -23,7 +23,7 @@ Example:
2323
def make_api_request(shop)
2424
# 1. create session object
2525
session = ShopifyAPI::Auth::Session.new(
26-
shop: "#{your_shop_name}.myshopify.com"
26+
shop: "#{your_shop_name}.myshopify.com",
2727
access_token: "the_token_for_your_custom_app_found_in_admin"
2828
)
2929

@@ -49,7 +49,7 @@ Example:
4949
def configure_app
5050
# This method is called before making authenticated API calls
5151
session = ShopifyAPI::Auth::Session.new(
52-
shop: "#{your_shop_name}.myshopify.com"
52+
shop: "#{your_shop_name}.myshopify.com",
5353
access_token: "the_token_for_your_custom_app_found_in_admin"
5454
)
5555

docs/usage/rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ If the request is successful these methods will all return a [`ShopifyAPI::Clien
218218
| Methods | Type | Notes |
219219
|---------|------|-------|
220220
| `code` |`Integer`| HTTP Response code, e.g. `200`|
221-
| `header` |`Hash{String, [String]}` | HTTP Response headers |
221+
| `headers` |`Hash{String, [String]}` | HTTP Response headers |
222222
| `body` | `Hash{String, Untyped}` | HTTP Response body |
223223
| `prev_page_info` | `String` | See [Pagination](#pagination)|
224224
| `next_page_info` | `String` | See [Pagination](#pagination)|

0 commit comments

Comments
 (0)