Skip to content

Commit

Permalink
Merge pull request #152 from drock/rebuild-connection-fix
Browse files Browse the repository at this point in the history
pass rebuild flag to _build_connection fixes #151
  • Loading branch information
chingor13 committed Dec 14, 2015
2 parents 6bbdc61 + 4f14655 commit 023fdb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/json_api_client/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def load(params)
#
# @return [Connection] The connection to the json api server
def connection(rebuild = false, &block)
_build_connection(&block)
_build_connection(rebuild, &block)
connection_object
end

Expand Down

0 comments on commit 023fdb6

Please sign in to comment.