lib/sourcescrub/apis/sources.rb in sourcescrub-0.1.1 vs lib/sourcescrub/apis/sources.rb in sourcescrub-0.1.2
- old
+ new
@@ -23,9 +23,16 @@
Models::Source::ENDPOINT,
@source_id
].compact.join('/')
end
+ def search_url
+ [
+ 'search',
+ Models::Source::ENDPOINT
+ ].compact.join('/')
+ end
+
def companies_url
[
Models::Source::ENDPOINT,
@source_id,
'companies'