Skip to content

Commit

Permalink
Merge pull request #1298 from Shopify/fix-documentation-typos
Browse files Browse the repository at this point in the history
Fix typos in documentation
  • Loading branch information
paulomarg committed Apr 1, 2024
2 parents a227bda + 9b4fec5 commit 32a39ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/usage/custom_apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can follow instructions for [initializing the session object](#initializing-
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)
```ruby
session = ShopifyAPI::Auth::Session.new(
shop: "#{your_shop_name}.myshopify.com"
shop: "#{your_shop_name}.myshopify.com",
access_token: "the_token_for_your_custom_app_found_in_admin"
)

Expand All @@ -23,7 +23,7 @@ Example:
def make_api_request(shop)
# 1. create session object
session = ShopifyAPI::Auth::Session.new(
shop: "#{your_shop_name}.myshopify.com"
shop: "#{your_shop_name}.myshopify.com",
access_token: "the_token_for_your_custom_app_found_in_admin"
)

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

Expand Down
2 changes: 1 addition & 1 deletion docs/usage/rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ If the request is successful these methods will all return a [`ShopifyAPI::Clien
| Methods | Type | Notes |
|---------|------|-------|
| `code` |`Integer`| HTTP Response code, e.g. `200`|
| `header` |`Hash{String, [String]}` | HTTP Response headers |
| `headers` |`Hash{String, [String]}` | HTTP Response headers |
| `body` | `Hash{String, Untyped}` | HTTP Response body |
| `prev_page_info` | `String` | See [Pagination](#pagination)|
| `next_page_info` | `String` | See [Pagination](#pagination)|
Expand Down

0 comments on commit 32a39ee

Please sign in to comment.