lib/nimbu-api/endpoints/sites.rb in nimbu-api-0.0.1 vs lib/nimbu-api/endpoints/sites.rb in nimbu-api-0.0.2

- old
+ new

@@ -16,18 +16,18 @@ def get(*args) require_authentication arguments(args, :required => [:site_id]) - get_request("/authorizations/#{site_id}", arguments.params) + get_request("/sites/#{site_id}", arguments.params) end alias :find :get private def require_authentication - raise ArgumentError, 'You need to be authentication to access the sites' unless authenticated? + raise ArgumentError, 'You need to be authenticated to access the sites' unless authenticated? end end # Authorizations end # Endpoints end # Nimbu