Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix several typos in docs and comments #39

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ new_request = client.request_data
request_data.patient.first_name = 'John'

request = client.create_request new_request
request.patient.first_name # => 'Jonhn'
request.patient.first_name # => 'John'
```


Expand Down
4 changes: 2 additions & 2 deletions lib/cover_my_meds/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ class Client
include CoverMyMeds::RequestPages
include CoverMyMeds::Indicators

# use the block to set module privided instance variables:
# use the block to set module-provided instance variables:
# ```ruby
# Client.new('mark') do |client|
# client.contacts_path = '/'
# client.contacts_host = 'http://contacts-api.dev'
# end
# ```
#
# Defaults are to proudction to make it easy for external gem consumers.
# Defaults to production to make it easy for external gem consumers.
def initialize(username, password=nil)
@username = username
@password = password
Expand Down
2 changes: 1 addition & 1 deletion spec/meta/host_and_path_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def default_host
end
end

describe "the added resouce-partially-applied method for web requests" do
describe "the added resource-partially-applied method for web requests" do
it "should proxy for #request" do
expect(subject).to receive(:request).with(:GET, "http://default-host.com", "/example-api-resources/", {v: 1})
subject.example_api_resources_request(:GET, params: {v: 1})
Expand Down