Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Apr 25, 2024
1 parent 592f2f7 commit 40bba2e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
skip = cache,coverage,Gemfile.lock,sublime*,cast.json
ignore-words-list = doesnt
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,28 +81,28 @@ control over the response, use the `get!` method instead:
result = nasdaq.get! "datasets/WIKI/AAPL", rows: 3

# Request Object
p payload.request.class
p result.request.class
# => HTTParty::Request

# Response Object
p payload.response.class
p result.response.class
# => Net::HTTPOK

p payload.response.body
p result.response.body
# => JSON string

p payload.response.code
p result.response.code
# => 200

p payload.response.msg
p result.response.msg
# => OK

# Headers Object
p payload.headers
p result.headers
# => Hash with headers

# Parsed Response Object
p payload.parsed_response
p result.parsed_response
# => Hash with HTTParty parsed response
# (this is the content returned with #get)
```
Expand Down

0 comments on commit 40bba2e

Please sign in to comment.