lib/nationbuilder/client.rb in nationbuilder-rb-1.3.2 vs lib/nationbuilder/client.rb in nationbuilder-rb-1.3.3
- old
+ new
@@ -16,10 +16,10 @@
end
end
def parsed_endpoints
NationBuilder::SpecParser
- .parse(File.join(File.dirname(__FILE__), 'api_spec.json'))
+ .parse(File.join(File.dirname(__FILE__), '..', 'api_spec/spec.json'))
end
class InvalidEndpoint < ArgumentError; end
def [](endpoint)