Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Get custom field data on all requests
Browse files Browse the repository at this point in the history
  • Loading branch information
allolex committed Feb 24, 2015
1 parent a7b6a8b commit 77f1e08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions lib/nacre/concerns/getable.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
module Nacre::Getable

def get(range)
if range?(range)
request_url = build_request_url(url, range)
else
request_url = build_request_url(url, range, request_options)
end
request_url = build_request_url(url, range, request_options)
response = link.get(request_url)
if response.success?
from_json(response.body)
Expand Down
2 changes: 1 addition & 1 deletion lib/nacre/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Nacre
VERSION = "0.2.0"
VERSION = "0.2.1"
end

0 comments on commit 77f1e08

Please sign in to comment.